From 6879a8b3b81ad45e10a7e451e178bb05ceda6d1a Mon Sep 17 00:00:00 2001 From: Finn Date: Wed, 31 Jan 2018 12:54:14 +0000 Subject: [PATCH] made placeholder more obvious --- lib/Pear/LocalLoop/Controller/Api/V1/User/Medals.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/Pear/LocalLoop/Controller/Api/V1/User/Medals.pm b/lib/Pear/LocalLoop/Controller/Api/V1/User/Medals.pm index 98ab359..2664935 100644 --- a/lib/Pear/LocalLoop/Controller/Api/V1/User/Medals.pm +++ b/lib/Pear/LocalLoop/Controller/Api/V1/User/Medals.pm @@ -8,7 +8,8 @@ sub index { my $validation = $c->validation; $validation->input( $c->stash->{api_json} ); - my $global = { + # Placeholder data + my $global_placeholder = { group_name => { threshold => { awarded => true, @@ -19,7 +20,7 @@ sub index { total => 1, }, }; - my $organisation = { + my $organisation_placeholder = { org_id => { group_name => { threshold => { @@ -38,8 +39,8 @@ sub index { return $c->render( json => { success => Mojo::JSON->true, - global => $global, - organisation => $organisation, + global => $global_placeholder, + organisation => $organisation_placeholder, } ); }