Fix for the 404 in the swagger doc

This commit is contained in:
Nicolai Ort 2020-12-10 18:50:18 +01:00
parent aaeef4a27e
commit bd07763455
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,9 @@
import { IsString } from 'class-validator';
/**
* Defines a empty response object
*/
export class ResponseEmpty {
@IsString()
response: string = "nothing here"
}

View File

@ -24,7 +24,6 @@ export class ResponseRunnerOrganisation extends ResponseRunnerGroup {
/**
* The orgs associated teams.
*/
@IsObject()
@IsArray()
teams: RunnerTeam[];