mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
@@ -11,7 +11,7 @@ var exports = {};
|
|||||||
|
|
||||||
function add_sub(stream_name, $status_message) {
|
function add_sub(stream_name, $status_message) {
|
||||||
channel.post({
|
channel.post({
|
||||||
url: '/users/me/subscriptions',
|
url: '/json/users/me/subscriptions',
|
||||||
data: {
|
data: {
|
||||||
subscriptions: JSON.stringify([{'name': stream_name}])
|
subscriptions: JSON.stringify([{'name': stream_name}])
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user