From 6dccbd124fde7f41b73533bc684e3043eebf04b5 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sun, 12 Feb 2017 00:22:53 -0700 Subject: [PATCH] Fix upload_by_user_id parse --- core/file_entry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/file_entry.js b/core/file_entry.js index 57276807..f7836555 100644 --- a/core/file_entry.js +++ b/core/file_entry.js @@ -19,7 +19,7 @@ const FILE_TABLE_MEMBERS = [ const FILE_WELL_KNOWN_META = { // name -> *read* converter, if any upload_by_username : null, - upload_by_user_id : null, + upload_by_user_id : (u) => parseInt(u) || 0, file_md5 : null, file_sha1 : null, file_crc32 : null,