Skip to content

Commit 78364d3

Browse files
Schwehn42Copilot
andauthored
fix error text
audited by Copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ecc879e commit 78364d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/templates.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export const TemplatesAPI = {
3131
return (await response.json()) as Template;
3232
}
3333

34-
throw new Error(`get all templates request resulted in status ${response.status}`);
34+
throw new Error(`edit template request resulted in status ${response.status}`);
3535
} catch (error) {
36-
throw new Error(`unable to get all templates with error: ${error}`);
36+
throw new Error(`unable to edit template with error: ${error}`);
3737
}
3838
},
3939
};

0 commit comments

Comments
 (0)