ui: improve warning message
This commit is contained in:
parent
e73b4b8573
commit
cb4c15ce0a
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ App::init()
|
|||
$response->addFilter(new ResponseV17());
|
||||
}
|
||||
if (version_compare($responseFormat, APP_VERSION_FORMAT, '>')) {
|
||||
$response->addHeader('X-Appwrite-Warning', 'Request made with SDK for Appwrite version ' . $responseFormat . '. Response format is meant for Appwrite version ' . APP_VERSION_FORMAT . '. Please downgrade your SDK to match the Appwrite version: https://appwrite.io/docs/sdks');
|
||||
$response->addHeader('X-Appwrite-Warning', "The current SDK is built fors Appwrite ${responseFormat}. However, the current Appwrite server version is ${APP_VERSION_STABLE}. Please downgrade your SDK to match the Appwrite version: https://appwrite.io/docs/sdks');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue