File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -387,18 +387,14 @@ export const patchTemplateVersion = async (
387
387
return response . data ;
388
388
} ;
389
389
390
- export const archiveTemplateVersion = async (
391
- templateVersionId : string ,
392
- ) => {
390
+ export const archiveTemplateVersion = async ( templateVersionId : string ) => {
393
391
const response = await axios . post < TypesGen . TemplateVersion > (
394
392
`/api/v2/templateversions/${ templateVersionId } /archive` ,
395
393
) ;
396
394
return response . data ;
397
395
} ;
398
396
399
- export const unarchiveTemplateVersion = async (
400
- templateVersionId : string ,
401
- ) => {
397
+ export const unarchiveTemplateVersion = async ( templateVersionId : string ) => {
402
398
const response = await axios . post < TypesGen . TemplateVersion > (
403
399
`/api/v2/templateversions/${ templateVersionId } /unarchive` ,
404
400
) ;
You can’t perform that action at this time.
0 commit comments