Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
refactor(mqtt): set user token on init session
Browse files Browse the repository at this point in the history
Signed-off-by: Rafa Hernandez <[email protected]>
  • Loading branch information
rafaelje authored and Ivan Del Pino committed Dec 14, 2018
1 parent c8ce693 commit 1890ad9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/main/assets/about.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
about.version=2.0.0-rc.5
about.build=3067
about.date=Thu Dec 13 17:42:10 2018
about.date=Thu Dec 13 20:17:23 2018
about.commit=
about.commitFull=
about.github=https://github.com/flyve-mdm/flyve-mdm-android-agent
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void run()

try {
// STEP 1 get session token
data = getSyncWebData(routes.initSession(cache.getApiToken()), "GET", header);
data = getSyncWebData(routes.initSession(cache.getUserToken()), "GET", header);

final String errorMessage = manageError(data);
if(!errorMessage.equals("")) {
Expand Down

0 comments on commit 1890ad9

Please sign in to comment.