From ef6c5aaea0c441cde756fd95e3bfceca0044d085 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 20 Jun 2017 14:19:35 +0200 Subject: [PATCH] Cleanup --- scripts/actions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/actions.ts b/scripts/actions.ts index a43b3aa9..cfb460e2 100644 --- a/scripts/actions.ts +++ b/scripts/actions.ts @@ -11,7 +11,7 @@ export function addAnimeToCollection(arn: AnimeNotifier, button: HTMLElement) { fetch("/api/animelist/" + userId + "/add", { method: "POST", body: animeId, - credentials: 'same-origin' + credentials: "same-origin" }) .then(response => response.text()) .then(body => { @@ -35,7 +35,7 @@ export function removeAnimeFromCollection(arn: AnimeNotifier, button: HTMLElemen fetch("/api/animelist/" + userId + "/remove", { method: "POST", body: animeId, - credentials: 'same-origin' + credentials: "same-origin" }) .then(response => response.text()) .then(body => {