File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ public function extractFields(Node|int $file): array {
7777 $ httpClient = $ this ->clientService ->newClient ();
7878
7979 $ form = RemoteOptionsService::getDefaultOptions ();
80- $ form ['query ' ] = ['limit ' => 'content-control ' ];
80+ $ form ['query ' ] = ['filter ' => 'contentcontrol ' ];
8181 $ form ['multipart ' ] = [[
8282 'name ' => 'data ' ,
8383 'contents ' => $ file ->getStorage ()->fopen ($ file ->getInternalPath (), 'r ' ),
@@ -93,7 +93,7 @@ public function extractFields(Node|int $file): array {
9393 $ fields = [];
9494
9595 foreach ($ documentStructure as $ index => $ attr ) {
96- $ fieldType = FieldType::tryFrom ($ attr ['type ' ]) ?? null ;
96+ $ fieldType = FieldType::tryFrom ($ attr ['type ' ] ?? '' ) ?? null ;
9797 if ($ fieldType === null ) {
9898 continue ;
9999 }
You can’t perform that action at this time.
0 commit comments