Skip to content

Commit c2f994a

Browse files
committed
Pass filters to createAttribute to inherit default value defined in this layer
1 parent b0b0d91 commit c2f994a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/controllers/api/database.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ function createAttribute($collectionId, $attribute, $response, $dbForInternal, $
9494
'array' => $array,
9595
'format' => $format,
9696
'formatOptions' => $formatOptions,
97+
'filters' => $filters,
9798
]);
9899

99100
$dbForInternal->checkAttribute($collection, $attribute);

0 commit comments

Comments
 (0)