Attachment controller fixes
This commit is contained in:
parent
55c96ba7ae
commit
71958f8a01
1 changed files with 7 additions and 1 deletions
|
@ -553,7 +553,7 @@ const WEBSOCKET_CALLS = new Set<keyof typeof URL_CALLS>([
|
|||
// ProfileController
|
||||
'profile',
|
||||
|
||||
// AttachmentControllerV2
|
||||
// AttachmentControllerV3
|
||||
'attachmentId',
|
||||
|
||||
// RemoteConfigController
|
||||
|
@ -2757,6 +2757,12 @@ export function initialize({
|
|||
type: 'PUT',
|
||||
version,
|
||||
data: encryptedBin,
|
||||
redactUrl: () => {
|
||||
const tmp = new URL(uploadLocation);
|
||||
tmp.search = '';
|
||||
tmp.pathname = '';
|
||||
return `${tmp}[REDACTED]`;
|
||||
},
|
||||
});
|
||||
|
||||
return cdnKey;
|
||||
|
|
Loading…
Reference in a new issue