From 15be0f8c2ecb8bad4dd57a050a46dcffa92e4f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Bispo?= Date: Mon, 24 Jul 2023 13:37:43 +0100 Subject: [PATCH] [PM-2293] Fix admin approval auth call --- src/Core/Services/ApiService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Services/ApiService.cs b/src/Core/Services/ApiService.cs index aab6b3c35..25603e762 100644 --- a/src/Core/Services/ApiService.cs +++ b/src/Core/Services/ApiService.cs @@ -593,7 +593,7 @@ namespace Bit.Core.Services public Task PostCreateRequestAsync(PasswordlessCreateLoginRequest passwordlessCreateLoginRequest, AuthRequestType authRequestType) { - return SendAsync(HttpMethod.Post, authRequestType == AuthRequestType.AdminApproval ? $"/auth-requests/admin-request" : $"/auth-requests", passwordlessCreateLoginRequest, false, true); + return SendAsync(HttpMethod.Post, authRequestType == AuthRequestType.AdminApproval ? $"/auth-requests/admin-request" : $"/auth-requests", passwordlessCreateLoginRequest, authRequestType == AuthRequestType.AdminApproval, true); } public Task PutAuthRequestAsync(string id, string encKey, string encMasterPasswordHash, string deviceIdentifier, bool requestApproved)