Added missing discription

ref #160
This commit is contained in:
Nicolai Ort 2021-03-17 19:31:09 +01:00
parent 0ed7f78b2c
commit 673e896aa3
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ export class RunnerSelfServiceController {
@Post('/runners/forgot')
@ResponseSchema(RunnerNotFoundError, { statusCode: 404 })
@OnUndefined(ResponseEmpty)
@OpenAPI({ description: 'TODO' })
@OpenAPI({ description: 'Use this endpoint to reuqest a new selfservice token/link to be sent to your mail address (rate limited to one mail every 24hrs).' })
async requestNewToken(@QueryParam('mail') mail: string) {
if (!mail) {
throw new RunnerNotFoundError();