Fix upload_by_user_id parse

This commit is contained in:
Bryan Ashby 2017-02-12 00:22:53 -07:00
parent 849ab68de2
commit 6dccbd124f
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ const FILE_TABLE_MEMBERS = [
const FILE_WELL_KNOWN_META = { const FILE_WELL_KNOWN_META = {
// name -> *read* converter, if any // name -> *read* converter, if any
upload_by_username : null, upload_by_username : null,
upload_by_user_id : null, upload_by_user_id : (u) => parseInt(u) || 0,
file_md5 : null, file_md5 : null,
file_sha1 : null, file_sha1 : null,
file_crc32 : null, file_crc32 : null,