added endpoint to frontend ape client

This commit is contained in:
Miodec 2023-07-25 16:52:36 +02:00
parent 753d9649e8
commit 869f9c229d

View file

@ -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,