feat: 콘텐츠 삭제 작업

This commit is contained in:
2025-04-18 16:04:22 +09:00
parent 1b0e310513
commit c6814a65f9
3 changed files with 24 additions and 12 deletions
@@ -59,8 +59,13 @@ export class ContentsApiService implements ContentsService {
return response.data;
}
public async deleteContents(contsSn: number): Promise<void> {
await client.delete(`${ENDPOINT.CMS_SERVICE.CONTENTS}/${contsSn}`);
public async deleteContents(
contsSn: number,
contsVer: number,
): Promise<void> {
await client.delete(
`${ENDPOINT.CMS_SERVICE.CONTENTS_DETAILS}/${contsSn}/${contsVer}`,
);
}
}