read notification on click working
This commit is contained in:
parent
b1e8848fcd
commit
f99e33f80e
5 changed files with 55 additions and 31 deletions
|
|
@ -197,7 +197,7 @@ export const useApiStore = defineStore("api", () => {
|
|||
}),
|
||||
};
|
||||
try {
|
||||
const response = await fetch("/read-comment.json", headers);
|
||||
const response = await fetch("/read-notification.json", headers);
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP error! status: ${response.status}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue