Fixes: Can't reshre a link once revoked

closes #733
This commit is contained in:
Tom Moor
2018-08-02 22:17:41 -07:00
parent 8acb60f4c7
commit cdd1fc4fb7
2 changed files with 19 additions and 0 deletions

View File

@ -64,6 +64,7 @@ router.post('shares.create', auth(), async ctx => {
documentId,
userId: user.id,
teamId: user.teamId,
revokedAt: null,
},
});