From 228c4295481913e776b37bcfb1d6953e7182ed10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz>
Date: Wed, 23 Dec 2020 14:49:38 +0100
Subject: [PATCH] Bugfix

---
 .gitlab-ci.yml                  | 2 +-
 lib/CF/Controller/Websockets.pm | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9fa78f2..d0a7bf0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,7 +3,7 @@ image: docker:19.03.1
 variables:
   DOCKER_TLS_CERTDIR: "/certs"
   IMAGE_TAG: $CI_REGISTRY_IMAGE
-  IMAGE_VER: 0.7.0
+  IMAGE_VER: 0.7.1
 
 services:
   - docker:19.03.1-dind
diff --git a/lib/CF/Controller/Websockets.pm b/lib/CF/Controller/Websockets.pm
index fdd74bc..e3cf643 100644
--- a/lib/CF/Controller/Websockets.pm
+++ b/lib/CF/Controller/Websockets.pm
@@ -45,7 +45,7 @@ sub main {
                 keepalive => { '>' => \$min_alive_time },
             }
         );
-        $c->send(to_json({ event => 'online_users_updated', palyload => $alive }));
+        $c->send(to_json({ event => 'online_users_updated', payload => $alive }));
 
     });
 
-- 
GitLab