X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fextra-utils%2Fserver%2Fcontact-form.ts;h=d50f8324139109909f28eaa2aba12065bbdae6c9;hb=5baee5fca418487e72ddcd6419d31bca8659b668;hp=e002e03dd76a9eab35d456d01fe56929cfd3a5e8;hpb=4e9fa5b7e9ca6030a5fe2e9b0520bf8fa18e5877;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/extra-utils/server/contact-form.ts b/shared/extra-utils/server/contact-form.ts index e002e03dd..d50f83241 100644 --- a/shared/extra-utils/server/contact-form.ts +++ b/shared/extra-utils/server/contact-form.ts @@ -2,11 +2,11 @@ import * as request from 'supertest' import { ContactForm } from '../../models/server' function sendContactForm (options: { - url: string, - fromEmail: string, - fromName: string, - subject: string, - body: string, + url: string + fromEmail: string + fromName: string + subject: string + body: string expectedStatus?: number }) { const path = '/api/v1/server/contact'