IAM: remove duplicated functions (#96989)

* Remove duplicated function and use the one provided by claims package
This commit is contained in:
Karl Persson
2024-11-26 09:22:45 +01:00
committed by GitHub
parent 3dbd3a7a81
commit 3990637af9
20 changed files with 37 additions and 74 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ func (s *SearchOptions) Wildcards() []string {
}
func (s *SearchOptions) ComputeUserID() (int64, error) {
typ, id, err := identity.ParseTypeAndID(s.TypedID)
typ, id, err := claims.ParseTypeID(s.TypedID)
if err != nil {
return 0, err
}