mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-01 20:09:01 +00:00
inline constant
This commit is contained in:
@@ -151,9 +151,8 @@ async function processMedia(media: UnfurledMediaItem, messageId: string, batchId
|
||||
},
|
||||
});
|
||||
}
|
||||
const url2 = `${Config.get().cdn.endpointPrivate}/attachments/${attEnt.uploadFilename}/clone_to_message/${messageId}`;
|
||||
|
||||
const cloneResponse = await fetch(url2, {
|
||||
const cloneResponse = await fetch(`${Config.get().cdn.endpointPrivate}/attachments/${attEnt.uploadFilename}/clone_to_message/${messageId}`, {
|
||||
method: "POST",
|
||||
headers: {
|
||||
signature: Config.get().security.requestSignature || "",
|
||||
|
||||
Reference in New Issue
Block a user