Skip to content

Commit

Permalink
Merge pull request #349 from JohnVillalovos/jlvillal/message_fix
Browse files Browse the repository at this point in the history
chore: fix log message to correct method name
  • Loading branch information
effgarces authored May 21, 2024
2 parents 4f86fbc + f289039 commit f64538c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WebServices/ResourcesWriteWebService.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function Update($resourceId)
$request = new ResourceRequest($this->server->GetRequest());

Log::Debug(
'ResourcesWriteWebService.Create() User=%s, Request=%s',
'ResourcesWriteWebService.Update() User=%s, Request=%s',
$this->server->GetSession()->UserId,
json_encode($request)
);
Expand All @@ -93,7 +93,7 @@ public function Update($resourceId)
RestResponse::OK_CODE
);
} else {
Log::Debug('ResourcesWriteWebService.Create() - Resource Update Failed.');
Log::Debug('ResourcesWriteWebService.Update() - Resource Update Failed.');

$this->server->WriteResponse(
new FailedResponse($this->server, $result->Errors()),
Expand Down

0 comments on commit f64538c

Please sign in to comment.