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

Prazdny seznam prispevku

parent 3c8f1817
No related branches found
No related tags found
No related merge requests found
Pipeline #2016 passed
...@@ -2,7 +2,7 @@ image: docker:19.03.12 ...@@ -2,7 +2,7 @@ image: docker:19.03.12
variables: variables:
DOCKER_TLS_CERTDIR: "/certs" DOCKER_TLS_CERTDIR: "/certs"
IMAGE_VER: 1.8.2 IMAGE_VER: 1.8.3
services: services:
- docker:19.03.12-dind - docker:19.03.12-dind
......
...@@ -95,7 +95,8 @@ sub list ($c) { ...@@ -95,7 +95,8 @@ sub list ($c) {
# Neni zadny aktivni bod rozpravy # Neni zadny aktivni bod rozpravy
if ( ! $program_entry ) { if ( ! $program_entry ) {
return $c->error(404, 'Debate closed'); $c->render(json => { data => [], total => 0, });
return
} }
$cond->{program_entry_id} = $program_entry->id; $cond->{program_entry_id} = $program_entry->id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment