mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
urls: Move the json/tutorial_status endpoint to be an API-style route.
This commit is contained in:
committed by
Tim Abbott
parent
0e653d198d
commit
79560e21bf
@@ -4,7 +4,7 @@ var exports = {};
|
||||
|
||||
function set_tutorial_status(status, callback) {
|
||||
return channel.post({
|
||||
url: '/json/tutorial_status',
|
||||
url: '/json/users/me/tutorial_status',
|
||||
data: {status: JSON.stringify(status)},
|
||||
success: callback,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user