1
0
Fork 0
mirror of synced 2024-06-10 23:04:45 +12:00

Merge pull request #872 from TorstenDittmann/qa-fixes

fix(response-filters): missing response filter model
This commit is contained in:
Eldad A. Fux 2021-02-02 21:18:21 +02:00 committed by GitHub
commit 8e8939504c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 4 deletions

View file

@ -164,7 +164,7 @@ $scopes = $this->getParam('scopes', []);
<div class="col span-6 text-one-liner margin-bottom text-height-large text-size-small" title="<?php echo $scope; ?>">
<input type="checkbox" name="scopes" id="<?php echo $scope; ?>" value="<?php echo $scope; ?>" />
&nbsp;
<label for="<?php echo $scope; ?>"><?php echo $scope; ?></label>
<label class="inline" for="<?php echo $scope; ?>"><?php echo $scope; ?></label>
</div>
<?php if (($i + 1) % 2 === 0) : ?>
</div>

View file

@ -83,8 +83,8 @@ class Response extends SwooleResponse
const MODEL_CONTINENT_LIST = 'continentList';
const MODEL_CURRENCY = 'currency';
const MODEL_CURRENCY_LIST = 'currencyList';
const MODEL_LANGUAGE = 'langauge';
const MODEL_LANGUAGE_LIST = 'langaugeList';
const MODEL_LANGUAGE = 'language';
const MODEL_LANGUAGE_LIST = 'languageList';
const MODEL_PHONE = 'phone';
const MODEL_PHONE_LIST = 'phoneList';
@ -104,7 +104,7 @@ class Response extends SwooleResponse
// Project
const MODEL_PROJECT = 'project';
const MODEL_PROJECT_LIST = 'projectsList';
const MODEL_PROJECT_LIST = 'projectList';
const MODEL_WEBHOOK = 'webhook';
const MODEL_WEBHOOK_LIST = 'webhookList';
const MODEL_KEY = 'key';

View file

@ -103,6 +103,10 @@ class V06 extends Filter {
$parsedResponse = $this->parseCurrencyList($content);
break;
case Response::MODEL_LANGUAGE_LIST:
$parsedResponse = $content;
break;
case Response::MODEL_ANY :
$parsedResponse = $content;
break;