mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-16 10:36:11 +08:00
updated response schema
This commit is contained in:
parent
574532f280
commit
753d9649e8
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ export async function isSubmissionEnabled(
|
|||
const { submissionsEnabled } = req.ctx.configuration.quotes;
|
||||
return new MonkeyResponse(
|
||||
"Quote submission " + (submissionsEnabled ? "enabled" : "disabled"),
|
||||
submissionsEnabled
|
||||
{ isEnabled: submissionsEnabled }
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue