mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 11:33:51 +00:00
We changed our endpoint from "get_public_streams" in August, but the API call whitelist was not updated. (imported from commit 293c1da8e43c24ad8188ed2096a47992ad3a2c89)
9 lines
413 B
Bash
Executable File
9 lines
413 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
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_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
|