Skip to content

Commit

Permalink
fixup! [#173,#496] Report better errors from LDAP user update DAO.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaragunde committed Mar 16, 2023
1 parent cc7ebe2 commit f9223cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/dao/UserDAO/PostgreSQLUserDAO.php
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ public function update(UserVO $userVO) {

$result->setIsSuccessful(true);
$result->setMessage('User updated successfully.');
$result->setResponseCode(201);
$result->setResponseCode(200);
}
catch (PDOException $ex) {
$errorMessage = $ex->getMessage();
Expand Down

0 comments on commit f9223cd

Please sign in to comment.