ui_init: Fix loading spectators view.

18578cc5da broke the success code path.
This commit is contained in:
Tim Abbott
2023-05-19 13:40:17 -07:00
parent 3cb6c9aea9
commit 9c09edd7af

View File

@@ -735,7 +735,7 @@ $(async () => {
channel.post({
url: "/json/register",
data,
resolve,
success: resolve,
error(xhr) {
blueslip.error("Spectator failed to register", {
status: xhr.status,