add notifications plugin + created reply comment route
This commit is contained in:
parent
b332c6d871
commit
c3860d4a38
6 changed files with 53 additions and 5 deletions
|
|
@ -154,7 +154,7 @@ export const useApiStore = defineStore("api", () => {
|
|||
}),
|
||||
};
|
||||
try {
|
||||
const response = await fetch("/read-notification.json", headers);
|
||||
const response = await fetch("/mark-as-read.json", headers);
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP error! status: ${response.status}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue