mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
PR review changes
This commit is contained in:
parent
977fb67d8b
commit
8cc2530210
1 changed files with 1 additions and 1 deletions
|
|
@ -433,7 +433,7 @@ class Builds extends Action
|
|||
throw new \Exception('Build not found', 404);
|
||||
}
|
||||
|
||||
$logs = \mb_substr($logs, 0, \mb_strlen($logs, 'UTF-8') - 1, 'UTF-8'); // Get only valid UTF8 part - removes leftover half-multibytes causing SQL errors
|
||||
$logs = \mb_substr($logs, 0, null, 'UTF-8'); // Get only valid UTF8 part - removes leftover half-multibytes causing SQL errors
|
||||
|
||||
$build = $build->setAttribute('logs', $build->getAttribute('logs', '') . $logs);
|
||||
$build = $dbForProject->updateDocument('builds', $build->getId(), $build);
|
||||
|
|
|
|||
Loading…
Reference in a new issue