Merge pull request 'feat(SPG-1236): implement otp checker guard on session period' (#159) from feat/otp-cancel into development
Reviewed-on: #159pull/142/head 1.6.23-alpha.2
commit
69c2ee06cf
|
@ -86,6 +86,7 @@ export class SeasonPeriodDataController {
|
||||||
// pemisahan update data dengan update items dikarenakan payload (based on tampilan) berbeda
|
// pemisahan update data dengan update items dikarenakan payload (based on tampilan) berbeda
|
||||||
// TODO => simpan OTP update yang disikim dari request ini
|
// TODO => simpan OTP update yang disikim dari request ini
|
||||||
@Put(':id/items')
|
@Put(':id/items')
|
||||||
|
@UseGuards(OtpCheckerGuard)
|
||||||
async updateItems(
|
async updateItems(
|
||||||
@Param('id') dataId: string,
|
@Param('id') dataId: string,
|
||||||
@Body() data: UpdateSeasonPeriodItemDto,
|
@Body() data: UpdateSeasonPeriodItemDto,
|
||||||
|
|
Loading…
Reference in New Issue