fix(linter): resolve all linter rules and type errors across 3 subprojects

This commit is contained in:
parsa aghaei committed 2026-08-02 09:39:53 +03:30
1 parent 5f790a60a9
commit a1f0640483
17 files changed
+201 -104

No files matched your search

+10 -2
View File
@@ -50,10 +50,18 @@ export class MediaController {
@UseGuards(JwtAuthGuard)
@Put(':id')
@ApiOperation({ summary: 'ویرایش متادیتای سئوی فایل (Alt, Title, Description, Caption)' })
@ApiOperation({
summary: 'ویرایش متادیتای سئوی فایل (Alt, Title, Description, Caption)',
})
async updateMedia(
@Param('id') id: string,
@Body() body: { altText?: string; title?: string; description?: string; caption?: string },
@Body()
body: {
altText?: string;
title?: string;
description?: string;
caption?: string;
},
) {
const data = await this.mediaService.updateMedia(id, body);
return { success: true, data };