Add debug log message to admin-approve API which had been missed.
This commit is contained in:
parent
fd05760943
commit
15d474d4d1
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ sub post_admin_approve {
|
||||||
|
|
||||||
#It does not exist.
|
#It does not exist.
|
||||||
if (! defined $id) {
|
if (! defined $id) {
|
||||||
|
$self->app->log->debug('Path Error: file:' . __FILE__ . ', line: ' . __LINE__);
|
||||||
return $self->render( json => {
|
return $self->render( json => {
|
||||||
success => Mojo::JSON->false,
|
success => Mojo::JSON->false,
|
||||||
message => 'the specified unvalidatedOrganisationId does not exist.',
|
message => 'the specified unvalidatedOrganisationId does not exist.',
|
||||||
|
|
Reference in a new issue