Skip to content

Commit

Permalink
OttSessionProvider passing updated ks
Browse files Browse the repository at this point in the history
  • Loading branch information
tehilar committed Mar 21, 2017
1 parent 346433a commit fab50ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public void switchUser(@NonNull final String userId, final OnCompletion<Primitiv
public void onComplete(PrimitiveResult response) {
if(response.error == null) { // in case the session checked for expiry and ready to use:
MultiRequestBuilder multiRequest = PhoenixService.getMultirequest(apiBaseUrl, null);
multiRequest.add(PhoenixSessionService.switchUser(apiBaseUrl, getSessionToken(), userId),
multiRequest.add(PhoenixSessionService.switchUser(apiBaseUrl, response.getResult(), userId),
PhoenixSessionService.get(apiBaseUrl, "{1:result:ks}")).
completion(new OnRequestCompletion() {
@Override
Expand Down

0 comments on commit fab50ab

Please sign in to comment.