fix: package upgrade (#2777)

Upgraded some packages to latest. This should resolve #2774. Fixes were
also applied after types upgrades that helped discover other errors.
This commit is contained in:
Wyatt Johnson
2020-01-06 16:14:56 +00:00
committed by GitHub
parent f900050ef4
commit 0dc3e8968a
15 changed files with 1398 additions and 657 deletions
+2 -2
View File
@@ -70,7 +70,7 @@ export interface Comment extends TenantResource {
/**
* authorID stores the ID of the User that created this Comment.
*/
authorID: string;
authorID: string | null;
/**
* storyID stores the ID of the Story that this Comment was left on.
@@ -319,7 +319,7 @@ export async function editComment(
status: {
$in: EDITABLE_STATUSES,
},
deletedAt: null,
deletedAt: undefined,
createdAt: {
$gt: lastEditableCommentCreatedAt,
},