mirror of
https://github.com/bitwarden/mobile
synced 2026-01-03 09:03:35 +00:00
handle non-root URLs
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Bit.App.Repositories
|
||||
: base(connectivity, httpService, tokenService)
|
||||
{ }
|
||||
|
||||
protected override string ApiRoute => "two-factor";
|
||||
protected override string ApiRoute => "/two-factor";
|
||||
|
||||
public virtual async Task<ApiResult> PostSendEmailLoginAsync(TwoFactorEmailRequest requestObj)
|
||||
{
|
||||
@@ -30,7 +30,7 @@ namespace Bit.App.Repositories
|
||||
var requestMessage = new TokenHttpRequestMessage(requestObj)
|
||||
{
|
||||
Method = HttpMethod.Post,
|
||||
RequestUri = new Uri(client.BaseAddress, string.Concat(ApiRoute, "/send-email-login")),
|
||||
RequestUri = new Uri(string.Concat(client.BaseAddress, ApiRoute, "/send-email-login")),
|
||||
};
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user