Updated undefined variable reference in error message
This commit is contained in:
parent
e4611dffd9
commit
d5be125982
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue