Page MenuHomePhabricator

D7709.id26064.diff
No OneTemporary

D7709.id26064.diff

diff --git a/keyserver/src/fetchers/upload-fetchers.js b/keyserver/src/fetchers/upload-fetchers.js
--- a/keyserver/src/fetchers/upload-fetchers.js
+++ b/keyserver/src/fetchers/upload-fetchers.js
@@ -195,7 +195,7 @@
if (encryptionKey) {
return {
type: 'encrypted_photo',
- id: uploadID,
+ id: uploadID.toString(),
holder: getUploadURL(uploadID, uploadSecret),
encryptionKey,
dimensions,
@@ -203,7 +203,7 @@
}
return {
type: 'photo',
- id: uploadID,
+ id: uploadID.toString(),
uri: getUploadURL(uploadID, uploadSecret),
dimensions,
};
@@ -216,7 +216,7 @@
JSON.parse(thumbnailUploadExtra);
return {
type: 'encrypted_video',
- id: uploadID,
+ id: uploadID.toString(),
holder: getUploadURL(uploadID, uploadSecret),
encryptionKey,
dimensions,
@@ -228,7 +228,7 @@
return {
type: 'video',
- id: uploadID,
+ id: uploadID.toString(),
uri: getUploadURL(uploadID, uploadSecret),
dimensions,
thumbnailID,

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 27, 3:55 AM (19 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2587205
Default Alt Text
D7709.id26064.diff (1 KB)

Event Timeline