Skip to content

Commit

Permalink
fix tserror
Browse files Browse the repository at this point in the history
  • Loading branch information
fantasticit committed Apr 10, 2023
1 parent 00b52c5 commit cea33af
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/server/src/controllers/wiki.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand All @@ -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);
}

/**
Expand All @@ -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);
}

/**
Expand Down

0 comments on commit cea33af

Please sign in to comment.