Skip to content

Commit

Permalink
Merge pull request #60 from beeper/fix-init-analytics
Browse files Browse the repository at this point in the history
add host to init_analytics
  • Loading branch information
the-newman authored Oct 11, 2023
2 parents 7fc2ebe + 4c3a562 commit dc66fd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linkedin_matrix/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ def prepare_bridge(self):
self.az.app.add_subapp(prefix, self.provisioning_api.app)

if self.config["analytics.token"]:
host = self.config["analytics.host"]
token = self.config["analytics.token"]
user_id = self.config["analytics.user_id"]
if token:
init_analytics(token, user_id)
init_analytics(host, token, user_id)

async def stop(self):
await Puppet.close()
Expand Down

0 comments on commit dc66fd2

Please sign in to comment.