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

Commit 05385d2

Browse files
author
Josh Wolff
committed
Updating API bug
1 parent 4978af7 commit 05385d2

File tree

3 files changed

+23
-27
lines changed

3 files changed

+23
-27
lines changed

.idea/workspace.xml

Lines changed: 21 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spontit/examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def get_invite_options_for_my_main_account(self):
221221
print("Simple push example result: " + str(response))
222222

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

227227
# To see documentation, run:

spontit/resource.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ def push(self,
237237
assert type(ios_deep_link) == str
238238
payload["iOSDeepLink"] = ios_deep_link
239239

240+
payload["userId"] = self.user_id
240241
if channel_id is not None:
241242
assert type(channel_id) == str
242243
payload["userId"] = channel_id

0 commit comments

Comments
 (0)