joegasewicz/flask-jwt-router

Outdated docstring - nice easy fix for a beginner developer!

joegasewicz opened this issue · 3 comments

Therefore we have provided a utility method that returns a headers Dict that you can then use in your test view handler request. Should be:
Therefore we have provided a utility method that you can then use in your test view handler request.

here:

utility method that returns a headers Dict that you can then use in your test view handler

here (should return -> str):

def create_test_headers(self, *, email: str, entity=None, scope="function") -> Dict[str, str]:

here (Should just return Bearer your@email.com):

# user_headers: { "X-Auth-Token": "Bearer user@gmail.com" }

Hi @joegasewicz I would like to work on this issue!

Please go ahead @jpcarroll

PR for changes here @joegasewicz