made placeholder more obvious
This commit is contained in:
parent
e26a2330df
commit
8a48dc571b
1 changed files with 5 additions and 4 deletions
|
@ -8,7 +8,8 @@ sub index {
|
||||||
my $validation = $c->validation;
|
my $validation = $c->validation;
|
||||||
$validation->input( $c->stash->{api_json} );
|
$validation->input( $c->stash->{api_json} );
|
||||||
|
|
||||||
my $global = {
|
# Placeholder data
|
||||||
|
my $global_placeholder = {
|
||||||
group_name => {
|
group_name => {
|
||||||
threshold => {
|
threshold => {
|
||||||
awarded => true,
|
awarded => true,
|
||||||
|
@ -19,7 +20,7 @@ sub index {
|
||||||
total => 1,
|
total => 1,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
my $organisation = {
|
my $organisation_placeholder = {
|
||||||
org_id => {
|
org_id => {
|
||||||
group_name => {
|
group_name => {
|
||||||
threshold => {
|
threshold => {
|
||||||
|
@ -38,8 +39,8 @@ sub index {
|
||||||
return $c->render(
|
return $c->render(
|
||||||
json => {
|
json => {
|
||||||
success => Mojo::JSON->true,
|
success => Mojo::JSON->true,
|
||||||
global => $global,
|
global => $global_placeholder,
|
||||||
organisation => $organisation,
|
organisation => $organisation_placeholder,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue