new content notification working for client brief
This commit is contained in:
parent
8ae00d7657
commit
c1d2c73118
9 changed files with 277 additions and 70 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue