Skip to content

Commit f9b066c

Browse files
CCM-12090: Fix linting
1 parent c24e0c5 commit f9b066c

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

lambdas/backend-client/src/template-api-client.ts

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,12 @@ export class TemplateApiClient {
105105
token: string
106106
): Promise<Result<TemplateDto>> {
107107
const response = await catchAxiosError(
108-
this._client.get<TemplateSuccess>(`/v1/template/${encodeURIComponent(templateId)}`, {
109-
headers: { Authorization: token },
110-
})
108+
this._client.get<TemplateSuccess>(
109+
`/v1/template/${encodeURIComponent(templateId)}`,
110+
{
111+
headers: { Authorization: token },
112+
}
113+
)
111114
);
112115

113116
if (response.error) {
@@ -172,12 +175,15 @@ export class TemplateApiClient {
172175
owner: string
173176
): Promise<Result<void>> {
174177
const response = await catchAxiosError(
175-
this._client.delete<TemplateSuccess>(`/v1/template/${encodeURIComponent(templateId)}`, {
176-
headers: {
177-
'Content-Type': 'application/json',
178-
Authorization: owner,
179-
},
180-
})
178+
this._client.delete<TemplateSuccess>(
179+
`/v1/template/${encodeURIComponent(templateId)}`,
180+
{
181+
headers: {
182+
'Content-Type': 'application/json',
183+
Authorization: owner,
184+
},
185+
}
186+
)
181187
);
182188

183189
if (response.error) {

0 commit comments

Comments
 (0)