mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-03 20:44:53 +01:00
parent
ea9b48db3c
commit
13e822cba6
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(),
|
||||
fileId: file ? file._id : undefined,
|
||||
recipientId: recipient._id,
|
||||
text: text ? text : undefined,
|
||||
text: text ? text.trim() : undefined,
|
||||
userId: user._id,
|
||||
isRead: false
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue