my $id = route_parameters->get('site_id'); redirect client(params->{$id})->authorize;
You are storing the value of the site_id param in $id. Then you are for some reason not using that variable, but fetching the value again ... but the second time you are looking for a parameter with the same name as the value.
In reply to Re: Unable to execute the get method from app.psgi file for Dancer2 app.
by 1nickt
in thread Unable to execute the get method from app.psgi file for Dancer2 app.
by chandantul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |