mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Merge pull request #8048 from appwrite/fix-8039-version-in-response
Fix version in error response
This commit is contained in:
commit
2abd016fe5
1 changed files with 2 additions and 2 deletions
|
|
@ -742,12 +742,12 @@ App::error()
|
|||
'file' => $file,
|
||||
'line' => $line,
|
||||
'trace' => \json_encode($trace, JSON_UNESCAPED_UNICODE) === false ? [] : $trace, // check for failing encode
|
||||
'version' => $version,
|
||||
'version' => APP_VERSION_STABLE,
|
||||
'type' => $type,
|
||||
] : [
|
||||
'message' => $message,
|
||||
'code' => $code,
|
||||
'version' => $version,
|
||||
'version' => APP_VERSION_STABLE,
|
||||
'type' => $type,
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue