Skip to content

Commit b08b508

Browse files
committed
fixed bug in rest pages
1 parent 5bcab14 commit b08b508

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/base/abstracts/Controllers/BaseRestPage.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ public function process(RouteInfo $route_info = null, $route_data = [])
111111
try {
112112
$log = $this->getContainer()->make(RequestLog::class);
113113
$log->fillWithRequest($this->getRequest(), $this);
114+
$log->setResponseCode(200);
114115
$log->persist();
115116
} catch (Exception $e) {
116117
$this->getUtils()->logException($e, "Can't write RequestLog");

0 commit comments

Comments
 (0)