Skip to content

Commit 3bfd390

Browse files
authored
Validate method api key parameter correction
1 parent 1aefa86 commit 3bfd390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Cms.Integrations.Automation.Zapier/Controllers/ZapierAuthorizedApiController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public bool IsAccessValid()
6969
if (!string.IsNullOrEmpty(apiKey))
7070
return apiKey == Options.ApiKey;
7171

72-
var isAuthorized = _userValidationService.Validate(username, password, Options.UserGroupAlias).GetAwaiter()
72+
var isAuthorized = _userValidationService.Validate(username, password, Options.ApiKey).GetAwaiter()
7373
.GetResult();
7474
if (!isAuthorized) return false;
7575

0 commit comments

Comments
 (0)