Commit 72963a50 authored by nanahira's avatar nanahira

why 200? srvpro bug

parent c9a0e3ee
Pipeline #3897 passed with stages
in 4 minutes and 24 seconds
......@@ -4,6 +4,7 @@ import {
Controller,
ForbiddenException,
Get,
HttpCode,
HttpException,
InternalServerErrorException,
NotFoundException,
......@@ -39,6 +40,7 @@ export class AppController {
) {}
@Post('score')
@HttpCode(200)
async postScore(@Body() body: any, @Body('accesskey') accessKey) {
if (accessKey !== config.accessKey) {
throw new ForbiddenException({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment