Skip to content

Commit

Permalink
Distribute "get_streams" endpoint in API.
Browse files Browse the repository at this point in the history
We changed our endpoint from "get_public_streams" in August, but the
API call whitelist was not updated.

(imported from commit 293c1da8e43c24ad8188ed2096a47992ad3a2c89)
  • Loading branch information
lfaraone committed Jan 11, 2014
1 parent 22ae828 commit e863263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build-api-tarball
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

cd api/
# Strip out non-send_message bindings.
perl -i.bak -ne 'print if !m/Client._register/ ||m/send_message/ ||m/get_messages/ ||m/add_subscriptions/ ||m/list_subscriptions/ ||m/remove_subscriptions/ ||m/get_public_streams/ ||m/get_members/ ||m/_register.*register/ ||m/get_events/' zulip/__init__.py
perl -i.bak -ne 'print if !m/Client._register/ ||m/send_message/ ||m/get_messages/ ||m/add_subscriptions/ ||m/list_subscriptions/ ||m/remove_subscriptions/ ||m/get_streams/ ||m/get_members/ ||m/_register.*register/ ||m/get_events/' zulip/__init__.py
python setup.py sdist
mv zulip/__init__.py.bak zulip/__init__.py
echo API tarball written to api/dist

0 comments on commit e863263

Please sign in to comment.