made placeholder more obvious

This commit is contained in:
Finn 2018-01-31 12:54:14 +00:00
parent 613272f413
commit 6879a8b3b8

View file

@ -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,
}
);
}