mirror of
https://github.com/docmost/docmost.git
synced 2026-05-18 15:34:05 +08:00
refactor(base): drop /list suffix from base endpoints to match codebase convention
This commit is contained in:
@@ -140,7 +140,7 @@ export class BaseRowController {
|
||||
}
|
||||
|
||||
@HttpCode(HttpStatus.OK)
|
||||
@Post('list')
|
||||
@Post()
|
||||
async list(
|
||||
@Body() dto: ListRowsDto,
|
||||
@Body() pagination: PaginationOptions,
|
||||
|
||||
@@ -93,7 +93,7 @@ export class BaseViewController {
|
||||
}
|
||||
|
||||
@HttpCode(HttpStatus.OK)
|
||||
@Post('list')
|
||||
@Post()
|
||||
async list(
|
||||
@Body() dto: BaseIdDto,
|
||||
@AuthUser() user: User,
|
||||
|
||||
@@ -100,7 +100,7 @@ export class BaseController {
|
||||
}
|
||||
|
||||
@HttpCode(HttpStatus.OK)
|
||||
@Post('list')
|
||||
@Post()
|
||||
async list(
|
||||
@Body() dto: SpaceIdDto,
|
||||
@Body() pagination: PaginationOptions,
|
||||
|
||||
Reference in New Issue
Block a user