diff --git a/src/auth.ts b/src/auth.ts index 0afac37..7b7d1d7 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -94,9 +94,7 @@ const migrate = (authFileName = 'auth.json'): Promise => new Promise(asyn /** * This is a WIP */ -export const createNewUser = (username: string, password: string, admin: boolean, meta?: { [key: string]: User }): Promise => new Promise(async (resolve, reject) => { - - // todo: finish this +export const createNewUser = (username: string, password: string, admin: boolean, meta?: { [key: string]: any }): Promise => new Promise(async (resolve, reject) => { // Create a new user object const newUser: User = {