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

Small typo in developer guide #156

Open
amwright opened this issue Oct 17, 2014 · 0 comments
Open

Small typo in developer guide #156

amwright opened this issue Oct 17, 2014 · 0 comments

Comments

@amwright
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant