mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
serializers - drive-file: add created_at field by uploadedDate
This commit is contained in:
parent
d25a71a4de
commit
0e9e7c9ac6
@ -44,6 +44,7 @@ export default (
|
|||||||
let _target: any = {};
|
let _target: any = {};
|
||||||
|
|
||||||
_target.id = _file._id;
|
_target.id = _file._id;
|
||||||
|
_target.created_at = _file.uploadDate
|
||||||
|
|
||||||
_target = Object.assign(_target, _file.metadata);
|
_target = Object.assign(_target, _file.metadata);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user