Skip to content

Commit

Permalink
Added call with prefix to non-appbase endpoint #33
Browse files Browse the repository at this point in the history
  • Loading branch information
relativityboy committed Jan 5, 2018
1 parent baf5aea commit fb7cdd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hive/server/serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@

# Register non-appbase condenser_api endpoint (remove after appbase in prod)
non_appbase_methods = AsyncMethods()
non_appbase_methods.add(condenser_api.call, 'condenser_api.non_appb.call')
non_appbase_methods.add(condenser_api.call, 'hive_api.condenser_api.non_appb.call') # TODO: temp, for testing jussi-style path without jussi
for m in condenser_methods:
non_appbase_methods.add(m)
non_appbase_methods.add(m, 'hive_api.condenser_api.non_appb' + m.__name__) # TODO: temp, for testing jussi-style path without jussi


app = web.Application()
app['config'] = dict()
Expand Down

0 comments on commit fb7cdd5

Please sign in to comment.