convert API call function to TS

This commit is contained in:
p2405951 committed 2026-03-13 16:54:08 +01:00
1 parent e73d607ac3
commit 4325fe3dcb
21 files changed
+38 -59

No files matched your search

@@ -1,6 +1,6 @@
import getXSRFToken from "../getXSRF.js";
export default async function deleteNotificationUser(notificationId) {
export default async function deleteNotificationUser(notificationId:number) {
const csrfToken = await getXSRFToken();
try {
@@ -1,4 +1,4 @@
import getXSRFToken from "../getXSRF.js";
import getXSRFToken from "../getXSRF";
export default async function readNotifications() {