From 932af83ca5a4340ec185499c829cd46f9c6bf649 Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Mon, 15 Jul 2019 01:55:02 +0100 Subject: [PATCH] use the correct column name --- lib/Pear/LocalLoop/Controller/Api/External.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Pear/LocalLoop/Controller/Api/External.pm b/lib/Pear/LocalLoop/Controller/Api/External.pm index e671201..40a63fe 100644 --- a/lib/Pear/LocalLoop/Controller/Api/External.pm +++ b/lib/Pear/LocalLoop/Controller/Api/External.pm @@ -155,7 +155,7 @@ sub post_year_spend { map { { count => $_->get_column('count'), value => $_->get_column('total_spend'), - date => $_->get_column('quantised_days'), + date => $_->get_column('quantised'), } } $spend_rs->all, );