Skip to content

Commit

Permalink
fix: name typos (#5916)
Browse files Browse the repository at this point in the history
  • Loading branch information
0o001 authored Aug 21, 2023
1 parent 62283c6 commit b4c79fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/plugins/gitlab/models/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down
2 changes: 1 addition & 1 deletion backend/plugins/gitlab/tasks/project_convertor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit b4c79fb

Please sign in to comment.