mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
api: Fix encoding of strings in tutorial endpoint.
* Remove unnecessary json validator for string parameter. * Update frontend to pass right parameter. Fixes part of #18035.
This commit is contained in:
committed by
Tim Abbott
parent
d4219da254
commit
232c7107eb
@@ -5,7 +5,7 @@ import {page_params} from "./page_params";
|
||||
function set_tutorial_status(status, callback) {
|
||||
return channel.post({
|
||||
url: "/json/users/me/tutorial_status",
|
||||
data: {status: JSON.stringify(status)},
|
||||
data: {status},
|
||||
success: callback,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user