Skip to content

Commit

Permalink
Use device severDeviceName in base request
Browse files Browse the repository at this point in the history
  • Loading branch information
1hitsong committed Oct 27, 2023
1 parent a78dcca commit f3c0437
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions source/api/baserequest.brs
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,7 @@ function authRequest(request as object) as object
auth = auth + ", UserId=" + QUOTE + m.global.session.user.id + QUOTE
end if

if m.global.session.user <> invalid and m.global.session.user.friendlyName <> invalid
auth = auth + ", DeviceId=" + QUOTE + m.global.device.id + m.global.session.user.friendlyName + QUOTE
else
auth = auth + ", DeviceId=" + QUOTE + m.global.device.id + QUOTE
end if
auth = auth + ", DeviceId=" + QUOTE + m.global.device.serverDeviceName + QUOTE

if m.global.session.user.authToken <> invalid
auth = auth + ", Token=" + QUOTE + m.global.session.user.authToken + QUOTE
Expand Down

0 comments on commit f3c0437

Please sign in to comment.