Update sdk.bs

Set get session to use default param device ID. This allows us to get the correct session when multiple sessions are active.
This commit is contained in:
candry7731 2023-06-29 09:25:28 -05:00 committed by GitHub
parent d8a91782eb
commit 71dbfb3423
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1374,7 +1374,7 @@ namespace api
end function
' Gets a list of sessions.
function Get(params = {} as object)
function Get(params = {"deviceId": m.global.device.id} as object)
req = APIRequest("/sessions", params)
return getJson(req)
end function