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):
|
async def adduser(ctx, args):
|
||||||
"""Create a single user."""
|
"""Create a single user."""
|
||||||
uid, _ = await create_user(
|
uid, _ = await create_user(args.username, args.email, args.password)
|
||||||
args.username, args.email, args.password, ctx.db, ctx.loop
|
|
||||||
)
|
|
||||||
|
|
||||||
user = await ctx.storage.get_user(uid)
|
user = await ctx.storage.get_user(uid)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue