Updated undefined variable reference in error message

This commit is contained in:
Lukas Metzger 2018-04-10 14:06:51 +02:00
parent e4611dffd9
commit d5be125982

View file

@ -99,7 +99,7 @@ class Users
$this->logger->info('Deleted user', ['id' => $user]);
return $res->withStatus(204);
} catch (\Exceptions\NotFoundException $e) {
return $res->withJson(['error' => 'No user found for id ' . $domainId], 404);
return $res->withJson(['error' => 'No user found for id ' . $user], 404);
}
}