1
0
Fork 0
mirror of synced 2024-06-27 18:50:47 +12:00

fix(response-filters): missing response filter model

This commit is contained in:
Torsten Dittmann 2021-02-02 17:04:11 +01:00
parent fe9fafac0c
commit 85f6f7957c
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; ?>"> <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; ?>" /> <input type="checkbox" name="scopes" id="<?php echo $scope; ?>" value="<?php echo $scope; ?>" />
&nbsp; &nbsp;
<label for="<?php echo $scope; ?>"><?php echo $scope; ?></label> <label class="inline" for="<?php echo $scope; ?>"><?php echo $scope; ?></label>
</div> </div>
<?php if (($i + 1) % 2 === 0) : ?> <?php if (($i + 1) % 2 === 0) : ?>
</div> </div>

View file

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

View file

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