Skip to content

Commit

Permalink
Fixed incorrect construction of deviceString in resolveUser().
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmoy12c committed Nov 27, 2023
1 parent fd1ddc9 commit a36716c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@

<properties>
<java.version>11</java.version>
<utils.version>2.3.0-SNAPSHOT</utils.version>
<messagerosa.version>2.3.0-SNAPSHOT</messagerosa.version>
<dao.version>2.3.0-SNAPSHOT</dao.version>
<utils.version>2.4.0</utils.version>
<messagerosa.version>2.3.0</messagerosa.version>
<dao.version>2.3.0</dao.version>
</properties>

<!-- For Downloading repositories from github packages -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public Mono<XMessage> resolveUser(XMessage xmsg, String appId) {

UUID appID = UUID.fromString(appId);

String deviceString = from.getDeviceType().toString() + ":" + from.getUserID();
String deviceString = from.getUserID();
String encodedBase64Key = encodeKey(secret);
String deviceID = AESWrapper.encrypt(deviceString, encodedBase64Key);
log.info("ReactiveConsumer:resolveUser::Calling:deviceString: " + deviceString + ", encyprted deviceString: " + deviceID);
Expand Down

0 comments on commit a36716c

Please sign in to comment.