Skip to content

Commit

Permalink
chore: polish code (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
CorrectRoadH authored May 23, 2024
1 parent 3239189 commit 4ba67b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route/v2/appstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (a *AppManagement) RegisterAppStore(ctx echo.Context, params codegen.Regist
}

isExist := lo.ContainsBy(service.MyService.AppStoreManagement().AppStoreList(), func(appstore codegen.AppStoreMetadata) bool {
return appstore.URL != nil && strings.ToLower(*appstore.URL) == strings.ToLower(*params.Url)
return appstore.URL != nil && strings.EqualFold(*appstore.URL, *params.Url)
})

if isExist {
Expand Down

0 comments on commit 4ba67b3

Please sign in to comment.