mirror of
https://github.com/simple-login/app.git
synced 2025-02-25 00:03:03 +08:00
fixed wrong description of error
This commit is contained in:
parent
567bee9a0b
commit
1cc8f7f2e3
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ def new_random_alias():
|
|||
elif mode == "uuid":
|
||||
scheme = AliasGeneratorEnum.uuid.value
|
||||
else:
|
||||
return jsonify(error=f"{mode} must be either word or alias"), 400
|
||||
return jsonify(error=f"{mode} must be either word or uuid"), 400
|
||||
|
||||
alias = Alias.create_new_random(user=user, scheme=scheme, note=note)
|
||||
db.session.commit()
|
||||
|
|
Loading…
Reference in a new issue