Adds Messaging streaming
This commit is contained in:
@@ -39,7 +39,7 @@ import {useClient} from '@/plugins/api.js';
|
||||
import {defineProps, ref} from 'vue';
|
||||
|
||||
const props = defineProps({
|
||||
contentId: {
|
||||
subjectId: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
@@ -52,7 +52,7 @@ const publish = async () => {
|
||||
await client.post(
|
||||
`/api/messages/`,
|
||||
{
|
||||
"subjectId": props.contentId,
|
||||
"subjectId": props.subjectId,
|
||||
"message": message.value
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user