mirror of https://gitlab.com/litecord/litecord.git
manage.cmd.users: fix create_user call
This commit is contained in:
parent
2674e76e62
commit
4286b5d283
|
|
@ -62,9 +62,7 @@ async def set_user_staff(user_id, ctx):
|
|||
|
||||
async def adduser(ctx, args):
|
||||
"""Create a single user."""
|
||||
uid, _ = await create_user(
|
||||
args.username, args.email, args.password, ctx.db, ctx.loop
|
||||
)
|
||||
uid, _ = await create_user(args.username, args.email, args.password)
|
||||
|
||||
user = await ctx.storage.get_user(uid)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue