Skip to content

Commit

Permalink
event stream: add rc=1 to query string
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Jan 3, 2024
1 parent c39eed3 commit 6b8eae4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions linkedin_messaging/linkedin.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ async def _listen_to_event_stream(self):
async with self.session.get(
REALTIME_CONNECT_URL,
headers=headers,
params={"rc": "1"},
) as resp:
if resp.status != 200:
raise TooManyRequestsError(f"Failed to connect. Status {resp.status}.")
Expand Down

0 comments on commit 6b8eae4

Please sign in to comment.