Merge pull request #244 from fantasticit/bugfix/20230409

pull/245/head
fantasticit 2023-04-11 07:58:43 +08:00 committed by GitHub
commit 91b303121b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -39,8 +39,8 @@ export class WikiController {
@Get(WikiApiDefinition.getAllWikis.server)
@HttpCode(HttpStatus.OK)
@UseGuards(JwtGuard)
async getAllWikis(@Request() req, @Param('organizationId') organizationId, @Query() pagination: IPagination) {
return await this.wikiService.getAllWikis(req.user, organizationId, pagination);
async getAllWikis(@Request() req, @Param('organizationId') organizationId) {
return await this.wikiService.getAllWikis(req.user, organizationId);
}
/**
@ -53,8 +53,8 @@ export class WikiController {
@Get(WikiApiDefinition.getOwnWikis.server)
@HttpCode(HttpStatus.OK)
@UseGuards(JwtGuard)
async getOwnWikis(@Request() req, @Param('organizationId') organizationId, @Query() pagination: IPagination) {
return await this.wikiService.getOwnWikis(req.user, organizationId, pagination);
async getOwnWikis(@Request() req, @Param('organizationId') organizationId) {
return await this.wikiService.getOwnWikis(req.user, organizationId);
}
/**
@ -67,8 +67,8 @@ export class WikiController {
@Get(WikiApiDefinition.getJoinWikis.server)
@HttpCode(HttpStatus.OK)
@UseGuards(JwtGuard)
async getJoinWikis(@Request() req, @Param('organizationId') organizationId, @Query() pagination: IPagination) {
return await this.wikiService.getJoinWikis(req.user, organizationId, pagination);
async getJoinWikis(@Request() req, @Param('organizationId') organizationId) {
return await this.wikiService.getJoinWikis(req.user, organizationId);
}
/**