diff --git a/frontend/src/ts/ape/endpoints/quotes.ts b/frontend/src/ts/ape/endpoints/quotes.ts index f27d72a63..aac9cdc4e 100644 --- a/frontend/src/ts/ape/endpoints/quotes.ts +++ b/frontend/src/ts/ape/endpoints/quotes.ts @@ -9,6 +9,10 @@ export default class Quotes { return await this.httpClient.get(BASE_PATH); } + async isSubmissionEnabled(): Ape.EndpointData { + return await this.httpClient.get(`${BASE_PATH}/isSubmissionEnabled`); + } + async submit( text: string, source: string,