Fixe Post message user.id
This commit is contained in:
@@ -79,7 +79,7 @@ const publish = async () => {
|
|||||||
emits('message-posted', {
|
emits('message-posted', {
|
||||||
"id": messageId,
|
"id": messageId,
|
||||||
"subjectId": props.subjectId,
|
"subjectId": props.subjectId,
|
||||||
"createdBy": userProfileStore.value.id,
|
"createdBy": userProfileStore.user.id,
|
||||||
"createdByName": userProfileStore.alias,
|
"createdByName": userProfileStore.alias,
|
||||||
"createdByPortraitUrl": userProfileStore.portraitUrl,
|
"createdByPortraitUrl": userProfileStore.portraitUrl,
|
||||||
"createdAt": new Date(Date.now()).toISOString(),
|
"createdAt": new Date(Date.now()).toISOString(),
|
||||||
|
|||||||
Reference in New Issue
Block a user