1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-11 14:37:51 +01:00

remove duplicate / from API routes

This commit is contained in:
Kyle Spearrin 2017-09-20 13:23:47 -04:00
parent a426d98e92
commit 15f074a45b
8 changed files with 8 additions and 8 deletions

View File

@ -18,7 +18,7 @@ namespace Bit.App.Repositories
: base(connectivity, httpService, tokenService) : base(connectivity, httpService, tokenService)
{ } { }
protected override string ApiRoute => "/accounts"; protected override string ApiRoute => "accounts";
public virtual async Task<ApiResult> PostRegisterAsync(RegisterRequest requestObj) public virtual async Task<ApiResult> PostRegisterAsync(RegisterRequest requestObj)
{ {

View File

@ -19,7 +19,7 @@ namespace Bit.App.Repositories
: base(connectivity, httpService, tokenService) : base(connectivity, httpService, tokenService)
{ } { }
protected override string ApiRoute => "/ciphers"; protected override string ApiRoute => "ciphers";
public virtual async Task<ApiResult<CipherResponse>> GetByIdAsync(string id) public virtual async Task<ApiResult<CipherResponse>> GetByIdAsync(string id)
{ {

View File

@ -20,7 +20,7 @@ namespace Bit.App.Repositories
: base(connectivity, httpService, tokenService) : base(connectivity, httpService, tokenService)
{ } { }
protected override string ApiRoute => "/connect"; protected override string ApiRoute => "connect";
public virtual async Task<ApiResult<TokenResponse>> PostTokenAsync(TokenRequest requestObj) public virtual async Task<ApiResult<TokenResponse>> PostTokenAsync(TokenRequest requestObj)
{ {

View File

@ -18,7 +18,7 @@ namespace Bit.App.Repositories
: base(connectivity, httpService, tokenService) : base(connectivity, httpService, tokenService)
{ } { }
protected override string ApiRoute => "/devices"; protected override string ApiRoute => "devices";
public virtual async Task<ApiResult> PutTokenAsync(string identifier, DeviceTokenRequest request) public virtual async Task<ApiResult> PutTokenAsync(string identifier, DeviceTokenRequest request)
{ {

View File

@ -14,6 +14,6 @@ namespace Bit.App.Repositories
: base(connectivity, httpService, tokenService) : base(connectivity, httpService, tokenService)
{ } { }
protected override string ApiRoute => "/folders"; protected override string ApiRoute => "folders";
} }
} }

View File

@ -14,6 +14,6 @@ namespace Bit.App.Repositories
: base(connectivity, httpService, tokenService) : base(connectivity, httpService, tokenService)
{ } { }
protected override string ApiRoute => "/logins"; protected override string ApiRoute => "logins";
} }
} }

View File

@ -17,7 +17,7 @@ namespace Bit.App.Repositories
: base(connectivity, httpService, tokenService) : base(connectivity, httpService, tokenService)
{ } { }
protected override string ApiRoute => "/settings"; protected override string ApiRoute => "settings";
public virtual async Task<ApiResult<DomainsResponse>> GetDomains(bool excluded = false) public virtual async Task<ApiResult<DomainsResponse>> GetDomains(bool excluded = false)
{ {

View File

@ -16,7 +16,7 @@ namespace Bit.App.Repositories
: base(connectivity, httpService, tokenService) : base(connectivity, httpService, tokenService)
{ } { }
protected override string ApiRoute => "/two-factor"; protected override string ApiRoute => "two-factor";
public virtual async Task<ApiResult> PostSendEmailLoginAsync(TwoFactorEmailRequest requestObj) public virtual async Task<ApiResult> PostSendEmailLoginAsync(TwoFactorEmailRequest requestObj)
{ {