1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

Implement new native filters

This commit is contained in:
Bradley Schofield 2021-07-23 09:48:51 +01:00
parent e0ab558f90
commit b5ab777cad

View file

@ -63,16 +63,12 @@ $stderr = '';
$executionStart = \microtime(true); $executionStart = \microtime(true);
$response = $orchestration->list(); $response = $orchestration->list(['labels' => 'appwrite-type=function']);
$list = []; $list = [];
array_map(function($value) use (&$list) { array_map(function($value) use (&$list) {
if (!empty($value->labels["appwrite-type"])) { $list[$value->getName()] = $value;
if ($value->labels["appwrite-type"] == "function") {
$list[$value->name] = $value;
}
}
}, $response); }, $response);
$executionEnd = \microtime(true); $executionEnd = \microtime(true);