From 3009f8436145cc964d3d669cf6a1f3e09522d240 Mon Sep 17 00:00:00 2001 From: Jess Robinson Date: Wed, 27 May 2026 09:53:16 +0100 Subject: [PATCH] Add newline at end of tag-assigner json (because parser) --- lib/AccessSystem/API/Controller/Root.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/AccessSystem/API/Controller/Root.pm b/lib/AccessSystem/API/Controller/Root.pm index f106cdd..ac92b18 100644 --- a/lib/AccessSystem/API/Controller/Root.pm +++ b/lib/AccessSystem/API/Controller/Root.pm @@ -574,6 +574,8 @@ sub assign: Chained('base'): PathPart('assign'): Args(0) { } $c->log->debug(Data::Dumper::Dumper($c->stash->{json})); $c->forward('View::JSON'); + $c->res->body($c->res->body() . "\n"); + $c->res->content_length(length($c->res->body)); } sub park: Chained('base'): PathPart('park'): Args(0) {