From 239d015061beae563f2e87c3028c23b0c7d2d47c Mon Sep 17 00:00:00 2001 From: jorg-vr Date: Wed, 16 Aug 2023 15:19:59 +0200 Subject: [PATCH] Do not add newline --- app/assets/javascripts/state/SavedAnnotations.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/javascripts/state/SavedAnnotations.ts b/app/assets/javascripts/state/SavedAnnotations.ts index 1bb1ce1716..9870c2d405 100644 --- a/app/assets/javascripts/state/SavedAnnotations.ts +++ b/app/assets/javascripts/state/SavedAnnotations.ts @@ -43,7 +43,6 @@ class SavedAnnotationState extends State { private async fetch(id: number): Promise { const url = `${URL}/${id}.json`; const response = await fetch(url); - this.byId.set(id, await response.json()); return this.byId.get(id); }