Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3370765
D7709.id26064.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7709.id26064.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D7709: [keyserver] fetchMediaForThread should return string ids
Attached
Detach File
Event Timeline
Log In to Comment