fix(linter): resolve all linter rules and type errors across 3 subprojects
This commit is contained in:
1 parent
5f790a60a9
commit
a1f0640483
17 files changed
+201
-104
No files matched your search
@@ -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 };
|
||||
|
||||
Reference in new issue
Block a user