add app version to doc

This commit is contained in:
casperlamboo 2018-02-14 16:26:53 +01:00
parent dd8ab3263c
commit ec22dc0cf7

View File

@ -9,7 +9,8 @@ export default async function docToFile(db, doc, { image = false, sketch = false
author: doc.author, author: doc.author,
id: doc._id, id: doc._id,
createdOn: doc.createdOn, createdOn: doc.createdOn,
updatedOn: doc.updatedOn updatedOn: doc.updatedOn,
appVersion: doc.appVersion
}; };
if (doc.class) response.class = doc.class; if (doc.class) response.class = doc.class;