Skip to content

Commit

Permalink
Add validation by application type
Browse files Browse the repository at this point in the history
  • Loading branch information
yamelsenih committed Sep 6, 2024
1 parent 3e7bdf1 commit f2e0ebf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static SetMessageTokenResponse setMessageToken(SetMessageTokenRequest req
}
//
if(user.isActive()) {
int socialMediaId = getSocialMediaId(request.getUserId(), request.getFirebaseToken());
int socialMediaId = getSocialMediaId(request.getUserId(), APPLICATION_TYPE);
if(socialMediaId < 0) {
socialMediaId = 0;
}
Expand Down

0 comments on commit f2e0ebf

Please sign in to comment.