Fix id of "/api/get-resource" API

This commit is contained in:
Yang Luo
2023-07-23 11:33:48 +08:00
parent a6f803aff1
commit 09f40bb5ce
2 changed files with 6 additions and 1 deletions

View File

@ -156,7 +156,7 @@ func AuthzFilter(ctx *context.Context) {
urlPath := getUrlPath(ctx.Request.URL.Path)
objOwner, objName := "", ""
if urlPath != "/api/get-app-login" {
if urlPath != "/api/get-app-login" && urlPath != "/api/get-resource" {
objOwner, objName = getObject(ctx)
}