use uuid instead of id to delete notifications
This commit is contained in:
1 parent
1836e66429
commit
ef30e27ad7
2 files changed
+2
-2
No files matched your search
@@ -86,7 +86,7 @@ function Header() {
|
||||
}
|
||||
|
||||
|
||||
async function deleteNotification(notificationId: number) {
|
||||
async function deleteNotification(notificationId: string) {
|
||||
try {
|
||||
const result = await deleteNotificationUser(notificationId);
|
||||
if (result) {
|
||||
|
||||
Reference in new issue
Block a user