1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-05 13:35:25 +02:00

ember.js upgrade 2.12, jshint replaced with eslint

This commit is contained in:
Harvey Kandola 2017-03-19 11:37:18 +00:00
parent 945fadaf00
commit b2620e80e1
34 changed files with 131 additions and 217 deletions

View file

@ -31,11 +31,11 @@ export default function () {
this.get('/documents', function (schema, request) {
let folder_id = request.queryParams.folder;
if (folder_id = "VzMuyEw_3WqiafcG") {
if (folder_id === "VzMuyEw_3WqiafcG") {
return schema.db.documents.where({ folderId: folder_id });
}
if (folder_id = 'V0Vy5Uw_3QeDAMW9') {
if (folder_id === 'V0Vy5Uw_3QeDAMW9') {
return null;
}
});