mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-26 09:36:02 -07:00
parent
cb960ddbd1
commit
dbc98d5fe6
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
|
||||||
createdAt: new Date(),
|
createdAt: new Date(),
|
||||||
fileId: file ? file._id : undefined,
|
fileId: file ? file._id : undefined,
|
||||||
recipientId: recipient._id,
|
recipientId: recipient._id,
|
||||||
text: text ? text : undefined,
|
text: text ? text.trim() : undefined,
|
||||||
userId: user._id,
|
userId: user._id,
|
||||||
isRead: false
|
isRead: false
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue