Skip to content

Commit 11fab61

Browse files
author
István Beregszászi
committed
Lint
1 parent 0a0d9ea commit 11fab61

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/endpoints/Templates/Client.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,17 @@ export function createClient(api: DeferredJobsApiClient) {
2929
return template;
3030
}
3131

32-
async function update(templateId: TemplateId, payload: UpdateRequest): Promise<ExtendedTemplate> {
32+
async function update(
33+
templateId: TemplateId,
34+
payload: UpdateRequest,
35+
): Promise<ExtendedTemplate> {
3336
const url = routing.templatesUrl;
34-
const { template } = await api.patch<{ template: ExtendedTemplate }>(`${url}/${templateId}`, {
35-
payload,
36-
});
37+
const { template } = await api.patch<{ template: ExtendedTemplate }>(
38+
`${url}/${templateId}`,
39+
{
40+
payload,
41+
},
42+
);
3743
return template;
3844
}
3945

0 commit comments

Comments
 (0)