diff --git a/zapisy/apps/notifications/assets/components/Widget.vue b/zapisy/apps/notifications/assets/components/Widget.vue index 9575ac1d40..d121340a96 100644 --- a/zapisy/apps/notifications/assets/components/Widget.vue +++ b/zapisy/apps/notifications/assets/components/Widget.vue @@ -79,7 +79,7 @@ export default class NotificationsComponent extends Vue { }); } - deleteOne(i: number): Promise { + deleteOne(i: string): Promise { axios.defaults.xsrfCookieName = "csrftoken"; axios.defaults.xsrfHeaderName = "X-CSRFToken";