mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
ui_init: Fix loading spectators view.
18578cc5da broke the success code path.
This commit is contained in:
@@ -735,7 +735,7 @@ $(async () => {
|
|||||||
channel.post({
|
channel.post({
|
||||||
url: "/json/register",
|
url: "/json/register",
|
||||||
data,
|
data,
|
||||||
resolve,
|
success: resolve,
|
||||||
error(xhr) {
|
error(xhr) {
|
||||||
blueslip.error("Spectator failed to register", {
|
blueslip.error("Spectator failed to register", {
|
||||||
status: xhr.status,
|
status: xhr.status,
|
||||||
|
|||||||
Reference in New Issue
Block a user