Remove unnecessary query param for /v1/certificate/delivery endpoint
This commit is contained in:
parent
d50b02cc35
commit
10ace53845
2 changed files with 3 additions and 8 deletions
|
@ -1086,17 +1086,12 @@ export function initialize({
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getSenderCertificate(omitE164?: boolean) {
|
async function getSenderCertificate(omitE164?: boolean) {
|
||||||
const baseParameters = '?includeUuid=true';
|
|
||||||
const urlParameters = `${baseParameters}${
|
|
||||||
omitE164 ? '&includeE164=false' : ''
|
|
||||||
}`;
|
|
||||||
|
|
||||||
return _ajax({
|
return _ajax({
|
||||||
call: 'deliveryCert',
|
call: 'deliveryCert',
|
||||||
httpType: 'GET',
|
httpType: 'GET',
|
||||||
responseType: 'json',
|
responseType: 'json',
|
||||||
validateResponse: { certificate: 'string' },
|
validateResponse: { certificate: 'string' },
|
||||||
urlParameters,
|
...(omitE164 ? { urlParameters: '?includeE164=false' } : {}),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15279,7 +15279,7 @@
|
||||||
"rule": "jQuery-wrap(",
|
"rule": "jQuery-wrap(",
|
||||||
"path": "ts/textsecure/WebAPI.js",
|
"path": "ts/textsecure/WebAPI.js",
|
||||||
"line": " const byteBuffer = window.dcodeIO.ByteBuffer.wrap(quote, 'binary', window.dcodeIO.ByteBuffer.LITTLE_ENDIAN);",
|
"line": " const byteBuffer = window.dcodeIO.ByteBuffer.wrap(quote, 'binary', window.dcodeIO.ByteBuffer.LITTLE_ENDIAN);",
|
||||||
"lineNumber": 1278,
|
"lineNumber": 1270,
|
||||||
"reasonCategory": "falseMatch",
|
"reasonCategory": "falseMatch",
|
||||||
"updated": "2020-09-08T23:07:22.682Z"
|
"updated": "2020-09-08T23:07:22.682Z"
|
||||||
},
|
},
|
||||||
|
@ -15287,7 +15287,7 @@
|
||||||
"rule": "jQuery-wrap(",
|
"rule": "jQuery-wrap(",
|
||||||
"path": "ts/textsecure/WebAPI.ts",
|
"path": "ts/textsecure/WebAPI.ts",
|
||||||
"line": " const byteBuffer = window.dcodeIO.ByteBuffer.wrap(",
|
"line": " const byteBuffer = window.dcodeIO.ByteBuffer.wrap(",
|
||||||
"lineNumber": 2179,
|
"lineNumber": 2174,
|
||||||
"reasonCategory": "falseMatch",
|
"reasonCategory": "falseMatch",
|
||||||
"updated": "2020-09-08T23:07:22.682Z"
|
"updated": "2020-09-08T23:07:22.682Z"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue