new content notification working for client brief

This commit is contained in:
isUnknown 2024-11-22 09:20:38 +01:00
parent 8ae00d7657
commit c1d2c73118
9 changed files with 277 additions and 70 deletions

View file

@ -212,11 +212,12 @@ export const useApiStore = defineStore("api", () => {
}
}
async function validateBrief(briefUri) {
async function validateBrief(briefUri, dialogUri = null) {
const headers = {
method: "POST",
body: JSON.stringify({
pageUri: briefUri,
briefUri: briefUri,
dialogUri,
}),
};
try {
@ -231,7 +232,7 @@ export const useApiStore = defineStore("api", () => {
return data;
}
} catch (error) {
throw error;
console.log(error);
}
}