[management] Fix getSetupKey call (#2927)

This commit is contained in:
Pascal Fischer
2024-11-22 10:15:51 +01:00
committed by GitHub
parent 1bbabf70b0
commit 9db1932664
4 changed files with 144 additions and 20 deletions

View File

@@ -379,7 +379,7 @@ func (am *DefaultAccountManager) GetSetupKey(ctx context.Context, accountID, use
return nil, status.NewAdminPermissionError()
}
setupKey, err := am.Store.GetSetupKeyByID(ctx, LockingStrengthShare, keyID, accountID)
setupKey, err := am.Store.GetSetupKeyByID(ctx, LockingStrengthShare, accountID, keyID)
if err != nil {
return nil, err
}