• Gets a user by username

    Parameters

    • db: any
    • username: any

    Returns Promise<any>