Skip to content

Commit be0230b

Browse files
committed
Update project_io.py
1 parent b56132a commit be0230b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

fastapi_forge/project_io.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,7 @@ def load_project_spec_from_db(
271271
# converts into fields as well - to avoid duplicate field
272272
continue
273273

274-
db_type = column.pop("type")
275-
data_type = FieldDataType.from_db_type(db_type)
274+
data_type = FieldDataType.from_db_type(column.pop("type"))
276275
column["type"] = data_type
277276

278277
metadata = ModelFieldMetadata()

0 commit comments

Comments
 (0)