Remove unused query parameter

This commit is contained in:
Fedor Indutny 2024-01-25 15:21:06 -08:00 committed by GitHub
parent d31d6474fe
commit 2b79a65e72
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2548,7 +2548,7 @@ export function initialize({
const keys = (await _ajax({
call: 'keys',
httpType: 'GET',
urlParameters: `/${serviceId}/${deviceId || '*'}?pq=true`,
urlParameters: `/${serviceId}/${deviceId || '*'}`,
responseType: 'json',
validateResponse: { identityKey: 'string', devices: 'object' },
})) as ServerKeyResponseType;
@ -2563,7 +2563,7 @@ export function initialize({
const keys = (await _ajax({
call: 'keys',
httpType: 'GET',
urlParameters: `/${serviceId}/${deviceId || '*'}?pq=true`,
urlParameters: `/${serviceId}/${deviceId || '*'}`,
responseType: 'json',
validateResponse: { identityKey: 'string', devices: 'object' },
unauthenticated: true,