Skip to content

Commit 1946a2c

Browse files
authored
quickfix: remove 'errors' and 'behaviorLogs' fields for uploads as well (#2823)
avoids empty '[]' fields on uploads, since they are deleted from crawl objects as well
1 parent 49afd5f commit 1946a2c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

backend/btrixcloud/migrations/migration_0050_crawl_logs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ async def migrate_up(self):
2828

2929
# Migrate error and behavior logs
3030
match_query = {
31-
"type": "crawl",
3231
"$or": [{"errors": {"$exists": True}}, {"behaviorLogs": {"$exists": True}}],
3332
}
3433

0 commit comments

Comments
 (0)