Merge pull request #525 from versity/ben/check_account

fix: auth iam single error for GetUserAccount()
This commit is contained in:
Ben McClelland
2024-04-17 14:32:02 -07:00
committed by GitHub
+1 -1
View File
@@ -32,7 +32,7 @@ func (IAMServiceSingle) CreateAccount(account Account) error {
// GetUserAccount no accounts in single tenant mode
func (IAMServiceSingle) GetUserAccount(access string) (Account, error) {
return Account{}, ErrNotSupported
return Account{}, ErrNoSuchUser
}
// DeleteUserAccount no accounts in single tenant mode