Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Small typo in developer guide #156

Description

@amwright

Forgive me as I'm a newbie, and trying to learn. I'm following the developer guide and found it wouldn't work. The bug is in the section defining the init.py for the custom identity driver.

Code currently says:
from .tokens import TokensV2

def setup_routes(app, disp):
disp.set_handler('v2_tokens', TokensV2())

I think it's missing the app parameter in TokensV2, should be:
from .tokens import TokensV2

def setup_routes(app, disp):
disp.set_handler('v2_tokens', TokensV2(app))

That fixed it for me.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions