mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 02:53:09 +02:00
serializers - drive-file: add created_at field by uploadedDate
This commit is contained in:
parent
18b1ef29ad
commit
d0dab265f4
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ export default (
|
|||
let _target: any = {};
|
||||
|
||||
_target.id = _file._id;
|
||||
_target.created_at = _file.uploadDate
|
||||
|
||||
_target = Object.assign(_target, _file.metadata);
|
||||
|
||||
|
|
Loading…
Reference in a new issue