Adds Messaging streaming

This commit is contained in:
Jonathan Bourdon
2024-07-19 00:45:00 -04:00
parent 89ac0f8bc4
commit 8afa037fbe
8 changed files with 185 additions and 52 deletions

View File

@@ -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
});
}