read content notification on click
This commit is contained in:
parent
1fae3dd414
commit
495e1c024e
7 changed files with 25 additions and 16 deletions
|
|
@ -149,12 +149,12 @@ export const useApiStore = defineStore("api", () => {
|
|||
* @param {string} projectId UUID or URI
|
||||
* @returns status with message if error
|
||||
*/
|
||||
async function readNotification(comment, projectId) {
|
||||
async function readNotification(notificationId, projectId) {
|
||||
const headers = {
|
||||
method: "POST",
|
||||
body: JSON.stringify({
|
||||
projectId,
|
||||
notificationId: comment.id,
|
||||
notificationId,
|
||||
}),
|
||||
};
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue