Fixing perm connector key (cant be based on perm service url)

This commit is contained in:
plm 2024-12-16 09:12:28 +01:00
parent 3a30e265cf
commit 36e843d343

View File

@ -1,8 +1,6 @@
package perms_connectors
import (
"oc-auth/conf"
"cloud.o-forge.io/core/oc-lib/tools"
)
@ -54,5 +52,5 @@ var c = map[string]PermConnector{
}
func GetPermissionConnector() PermConnector {
return c[conf.GetConfig().PermissionConnectorHost]
return c["keto"]
}