mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Widgets: Use scalar v1.1
This commit is contained in:
parent
96789114b8
commit
31306b0999
1 changed files with 2 additions and 2 deletions
|
@ -499,7 +499,7 @@ NSString *const WidgetManagerErrorDomain = @"WidgetManagerErrorDomain";
|
|||
|
||||
MXHTTPOperation *operation2 =
|
||||
[httpClient requestWithMethod:@"POST"
|
||||
path:@"register"
|
||||
path:@"register?v=1.1"
|
||||
parameters:tokenObject.JSONDictionary
|
||||
success:^(NSDictionary *JSONResponse)
|
||||
{
|
||||
|
@ -546,7 +546,7 @@ NSString *const WidgetManagerErrorDomain = @"WidgetManagerErrorDomain";
|
|||
MXHTTPClient *httpClient = [[MXHTTPClient alloc] initWithBaseURL:modularRestUrl andOnUnrecognizedCertificateBlock:nil];
|
||||
|
||||
return [httpClient requestWithMethod:@"GET"
|
||||
path:[NSString stringWithFormat:@"account?scalar_token=%@", scalarToken]
|
||||
path:[NSString stringWithFormat:@"account?v=1.1&scalar_token=%@", scalarToken]
|
||||
parameters:nil
|
||||
success:^(NSDictionary *JSONResponse) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue