mirror of
https://github.com/documize/community.git
synced 2025-08-04 21:15:24 +02:00
ember.js upgrade 2.12, jshint replaced with eslint
This commit is contained in:
parent
945fadaf00
commit
b2620e80e1
34 changed files with 131 additions and 217 deletions
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue