mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-10 04:49:09 +00:00
CHORE: remove linkFileToTable endpoint from Storage Explorer controller
This commit is contained in:
@@ -332,21 +332,6 @@ export class StorageExplorerController {
|
||||
);
|
||||
}
|
||||
|
||||
@ApiOperation({ summary: 'Link an existing file in storage to a table' })
|
||||
@Post('storage/link-to-table')
|
||||
@RequireAllPermissions(PERMISSIONS_GROUPS.STORAGE_EXPLORER.permissions.WRITE)
|
||||
async linkFileToTable(
|
||||
@Body() body: any,
|
||||
@User() user: RequestUser,
|
||||
) {
|
||||
return this.storageExplorerService.proxy(
|
||||
'POST',
|
||||
'/storage/link-to-table',
|
||||
user,
|
||||
body,
|
||||
);
|
||||
}
|
||||
|
||||
@ApiOperation({ summary: 'Get detailed file metadata' })
|
||||
@Get('storage/metadata')
|
||||
@RequireAllPermissions(PERMISSIONS_GROUPS.STORAGE_EXPLORER.permissions.READ)
|
||||
|
||||
Reference in New Issue
Block a user