fix(db): Incorrect data parsing
This commit is contained in:
1 parent
0dc9034f19
commit
cfd5228f67
2 files changed
+12
-12
No files matched your search
@@ -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
|
||||
""")
|
||||
|
||||
|
||||
Reference in new issue
Block a user