While working on adding REST endpoint for creating a new topic (#116), we have merged some functionality unintentionally and we need to fix these two things:
Remove unused provide_user=True argument from @authorized_access decorator for PostsList.get() route.
Use .partition() instead of .split() in parse_token_data. This was changed by accident during separating out token parsing logic.
So in the scope of this ticket we need to apply somefixes caused by careless merging.
While working on adding REST endpoint for creating a new topic (#116), we have merged some functionality unintentionally and we need to fix these two things:
provide_user=True
argument from@authorized_access
decorator forPostsList.get()
route..partition()
instead of.split()
inparse_token_data
. This was changed by accident during separating out token parsing logic.So in the scope of this ticket we need to apply somefixes caused by careless merging.