We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecc879e commit 78364d3Copy full SHA for 78364d3
src/api/templates.ts
@@ -31,9 +31,9 @@ export const TemplatesAPI = {
31
return (await response.json()) as Template;
32
}
33
34
- throw new Error(`get all templates request resulted in status ${response.status}`);
+ throw new Error(`edit template request resulted in status ${response.status}`);
35
} catch (error) {
36
- throw new Error(`unable to get all templates with error: ${error}`);
+ throw new Error(`unable to edit template with error: ${error}`);
37
38
},
39
};
0 commit comments