mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 13:01:10 +08:00
Fixed edit error
This commit is contained in:
parent
9f6a2b8d94
commit
29fd5d7386
1 changed files with 1 additions and 1 deletions
|
@ -1937,7 +1937,7 @@ exports.addPreset = functions.https.onCall(async (request, response) => {
|
|||
|
||||
exports.editPreset = functions.https.onCall((request, response) => {
|
||||
try {
|
||||
if (!isTagPresetValid(request.name)) {
|
||||
if (!isTagPresetNameValid(request.name)) {
|
||||
return { resultCode: -1 };
|
||||
} else {
|
||||
return db
|
||||
|
|
Loading…
Reference in a new issue