From 3d0ce736c0c72431f5963c8a7399ee5d5935ec27 Mon Sep 17 00:00:00 2001 From: Mustafa UZUN Date: Sun, 20 Aug 2023 00:06:20 +0300 Subject: [PATCH] fix: name typos --- backend/plugins/gitlab/models/project.go | 2 +- backend/plugins/gitlab/tasks/project_convertor.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/plugins/gitlab/models/project.go b/backend/plugins/gitlab/models/project.go index ee21cb1a564..c8d6f7ad918 100644 --- a/backend/plugins/gitlab/models/project.go +++ b/backend/plugins/gitlab/models/project.go @@ -104,7 +104,7 @@ func (gitlabApiProject GitlabApiProject) ConvertApiScope() plugin.ToolLayerScope type GitlabApiProject struct { GitlabId int `json:"id"` - Name string `josn:"name"` + Name string `json:"name"` Description string `json:"description"` DefaultBranch string `json:"default_branch"` PathWithNamespace string `json:"path_with_namespace"` diff --git a/backend/plugins/gitlab/tasks/project_convertor.go b/backend/plugins/gitlab/tasks/project_convertor.go index e2fc8b2d860..614355f303d 100644 --- a/backend/plugins/gitlab/tasks/project_convertor.go +++ b/backend/plugins/gitlab/tasks/project_convertor.go @@ -42,7 +42,7 @@ const RAW_PROJECT_TABLE = "gitlab_api_project" type GitlabApiProject struct { GitlabId int `json:"id"` - Name string `josn:"name"` + Name string `json:"name"` Description string `json:"description"` DefaultBranch string `json:"default_branch"` PathWithNamespace string `json:"path_with_namespace"`