unless ($patrons->count) {
return $c->render( status => 404, openapi => {
error => "Patron doesn't exist"
error => "Patron not found"
});
}
-