Necmettin Karakaya
2020-07-19 00:33:27 +08:00
committed by GitHub
parent d5b5d4fc27
commit 24448c7504
6 changed files with 7 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ const router = new Router();
router.post("documents.list", auth(), pagination(), async ctx => {
const { sort = "updatedAt", backlinkDocumentId, parentDocumentId } = ctx.body;
// collection and user are here for backwards compatablity
// collection and user are here for backwards compatibility
const collectionId = ctx.body.collectionId || ctx.body.collection;
const createdById = ctx.body.userId || ctx.body.user;
let direction = ctx.body.direction;