Skip to content

Commit

Permalink
Do not add newline
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Aug 16, 2023
1 parent abd094a commit 239d015
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/assets/javascripts/state/SavedAnnotations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ class SavedAnnotationState extends State {
private async fetch(id: number): Promise<SavedAnnotation> {
const url = `${URL}/${id}.json`;
const response = await fetch(url);

this.byId.set(id, await response.json());
return this.byId.get(id);
}
Expand Down

0 comments on commit 239d015

Please sign in to comment.