fix(db): Incorrect data parsing

This commit is contained in:
Black_Raven committed 2026-04-06 21:45:52 +03:00
1 parent 0dc9034f19
commit cfd5228f67
2 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ def get_all_categories_with_attributes(db_name: str = 'pipe_store.db') -> List[D
cursor.execute("""
SELECT id, name, image_path
FROM categories
WHERE parent_id IS NULL
WHERE parent_id IS 1
ORDER BY id
""")