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 0a0d9ea commit 11fab61Copy full SHA for 11fab61
src/endpoints/Templates/Client.ts
@@ -29,11 +29,17 @@ export function createClient(api: DeferredJobsApiClient) {
29
return template;
30
}
31
32
- async function update(templateId: TemplateId, payload: UpdateRequest): Promise<ExtendedTemplate> {
+ async function update(
33
+ templateId: TemplateId,
34
+ payload: UpdateRequest,
35
+ ): Promise<ExtendedTemplate> {
36
const url = routing.templatesUrl;
- const { template } = await api.patch<{ template: ExtendedTemplate }>(`${url}/${templateId}`, {
- payload,
- });
37
+ const { template } = await api.patch<{ template: ExtendedTemplate }>(
38
+ `${url}/${templateId}`,
39
+ {
40
+ payload,
41
+ },
42
+ );
43
44
45
0 commit comments