Clean up UUID-handling to prepare for future
This commit is contained in:
parent
5369950c1d
commit
3f58a9b762
7 changed files with 55 additions and 31 deletions
|
@ -1083,13 +1083,18 @@ export function initialize({
|
|||
);
|
||||
}
|
||||
|
||||
async function getSenderCertificate() {
|
||||
async function getSenderCertificate(omitE164?: boolean) {
|
||||
const baseParameters = '?includeUuid=true';
|
||||
const urlParameters = `${baseParameters}${
|
||||
omitE164 ? '&includeE164=false' : ''
|
||||
}`;
|
||||
|
||||
return _ajax({
|
||||
call: 'deliveryCert',
|
||||
httpType: 'GET',
|
||||
responseType: 'json',
|
||||
validateResponse: { certificate: 'string' },
|
||||
urlParameters: '?includeUuid=true',
|
||||
urlParameters,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue