convert API call function to TS
This commit is contained in:
1 parent
e73d607ac3
commit
4325fe3dcb
21 files changed
+38
-59
No files matched your search
+1
-1
@@ -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 {
|
||||
File renamed without changes.
+1
-1
@@ -1,4 +1,4 @@
|
||||
import getXSRFToken from "../getXSRF.js";
|
||||
import getXSRFToken from "../getXSRF";
|
||||
|
||||
export default async function readNotifications() {
|
||||
|
||||
Reference in new issue
Block a user