File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
lambdas/backend-client/src Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments