• Deletes a token by token and type

    Parameters

    • db: any

      The database to use

    • token: string

      The token to delete

    • type: any

      The type of the token to delete

    Returns Promise<any>

    The deleted token, or undefined if it doesn't exist