mirror of
https://github.com/bitwarden/mobile
synced 2025-12-30 23:23:38 +00:00
remove incremental syncs and move to full syncs with revision checks
This commit is contained in:
@@ -60,7 +60,7 @@ namespace Bit.App.Repositories
|
||||
var requestMessage = new HttpRequestMessage
|
||||
{
|
||||
Method = HttpMethod.Post,
|
||||
RequestUri = new Uri(client.BaseAddress, string.Concat(ApiRoute, "/token")),
|
||||
RequestUri = new Uri(client.BaseAddress, "connect/token"),
|
||||
Content = new FormUrlEncodedContent(new TokenRequest
|
||||
{
|
||||
Email = "abcdefgh",
|
||||
@@ -97,7 +97,7 @@ namespace Bit.App.Repositories
|
||||
var requestMessage = new HttpRequestMessage
|
||||
{
|
||||
Method = HttpMethod.Post,
|
||||
RequestUri = new Uri(client.BaseAddress, string.Concat(ApiRoute, "/token")),
|
||||
RequestUri = new Uri(client.BaseAddress, "connect/token"),
|
||||
Content = new FormUrlEncodedContent(new Dictionary<string, string>
|
||||
{
|
||||
{ "grant_type", "refresh_token" },
|
||||
@@ -119,7 +119,7 @@ namespace Bit.App.Repositories
|
||||
TokenService.Token = tokenResponse.AccessToken;
|
||||
TokenService.RefreshToken = tokenResponse.RefreshToken;
|
||||
}
|
||||
catch
|
||||
catch(Exception ee)
|
||||
{
|
||||
return webException.Invoke();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user