Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
Updating API bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Wolff committed Apr 12, 2020
1 parent 4978af7 commit 05385d2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 27 deletions.
47 changes: 21 additions & 26 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spontit/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def get_invite_options_for_my_main_account(self):
print("Simple push example result: " + str(response))

# ...or get right to pushing!
response = spontit_src.push("Hello!")
response = spontit_src.push("Hello!!!")
print("Result: " + str(response))

# To see documentation, run:
Expand Down
1 change: 1 addition & 0 deletions spontit/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def push(self,
assert type(ios_deep_link) == str
payload["iOSDeepLink"] = ios_deep_link

payload["userId"] = self.user_id
if channel_id is not None:
assert type(channel_id) == str
payload["userId"] = channel_id
Expand Down

0 comments on commit 05385d2

Please sign in to comment.