mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
updated
This commit is contained in:
1 parent
d8ad759751
commit
325ea93795
1 file changed
-7
@@ -1153,13 +1153,6 @@ class Appwrite extends Source
|
||||
$id = $row['$id'];
|
||||
$permissions = $row['$permissions'];
|
||||
|
||||
// TablesDB(API reader) returns `$tableId`, while downstream import cleanup still
|
||||
// normalizes/removes legacy `$collectionId`. Mirror the value to keep
|
||||
// compatibility across both shapes.
|
||||
if (isset($row['$tableId']) && !isset($row['$collectionId'])) {
|
||||
$row['$collectionId'] = $row['$tableId'];
|
||||
}
|
||||
|
||||
unset($row['$id']);
|
||||
unset($row['$permissions']);
|
||||
unset($row['$tableId']);
|
||||
|
||||
Reference in new issue
Block a user