Skip to content
Snippets Groups Projects
Verified Commit b86e67ea authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Bugfix

parent ad41dcff
Branches
No related tags found
No related merge requests found
Pipeline #1889 passed
......@@ -3,7 +3,7 @@ image: docker:19.03.1
variables:
DOCKER_TLS_CERTDIR: "/certs"
IMAGE_TAG: $CI_REGISTRY_IMAGE
IMAGE_VER: 0.8.1
IMAGE_VER: 0.8.2
services:
- docker:19.03.1-dind
......
......@@ -25,7 +25,7 @@ sub main {
$c->on(message => sub( $c, $message ) {
my $data = from_json($message);
if ($data->{payload} =~ /^\d+$/) {
if ($data->{payload} =~ /^(\d+)$/) {
my $user = $c->schema->resultset('User')->find({ id => $1 });
$user->update({keepalive => \'now()'}) if $user;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment