Commit 3ffc5c74 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Fix code

parent bf385a84
......@@ -70,9 +70,9 @@ sub run {
],
[$challenge]
];
# return twice ??? return [ 200, [ 'Content-Type' => 'application/json' ], [$challenge] ];
}
if ( $action eq 'registration' ) {
elsif ( $action eq 'registration' ) {
my ( $resp, $challenge );
$self->logger->debug('Registration response');
unless ($resp = $req->param('registration')
......@@ -263,6 +263,7 @@ sub run {
[$challenge]
];
}
elsif ( $action eq 'delete' ) {
my $epoch = $req->param('epoch');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment