mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-27 17:27:32 +08:00
added endpoint to frontend ape client
This commit is contained in:
parent
753d9649e8
commit
869f9c229d
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue