Skip to content

Commit

Permalink
Switch to unstable path for login token generation call
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Oct 10, 2022
1 parent 2175ebd commit 66aefba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MatrixSDK/MXRestClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ - (MXHTTPOperation*)generateLoginTokenWithSuccess:(void (^)(MXLoginToken *))succ
{
MXWeakify(self);
return [httpClient requestWithMethod:@"POST"
path:[NSString stringWithFormat:@"%@/login/token", apiPathPrefix]
path:[NSString stringWithFormat:@"%@/org.matrix.msc3882/login/token", kMXAPIPrefixPathUnstable]
parameters:@{}
success:^(NSDictionary *JSONResponse) {
MXStrongifyAndReturnIfNil(self);
Expand Down

0 comments on commit 66aefba

Please sign in to comment.