fix(token revoke)
This commit is contained in:
1 parent
0aec014161
commit
0aa1dc40fd
9 files changed
+149
-98
No files matched your search
@@ -162,7 +162,7 @@ func (applicationController) DeleteApplications(list []int32) (domain.DeleteResp
|
||||
appRep model.AppRepository, tokenRep model.TokenRepository, accessRep model.AccessListRepository) error {
|
||||
|
||||
for _, appId := range list {
|
||||
if _, err := Token.revokeTokensForApp(domain.Identity{appId}, &tokenRep); err != nil {
|
||||
if _, err := Token.revokeTokensForApp(domain.Identity{Id: appId}, &tokenRep); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user