mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
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:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user