update
This commit is contained in:
parent
7310de5f21
commit
d911d8913b
@ -39,10 +39,10 @@ async def create_address(
|
|||||||
|
|
||||||
db_address = AddressDB(
|
db_address = AddressDB(
|
||||||
user_id=current_user.userid,
|
user_id=current_user.userid,
|
||||||
community_name=community.name,
|
|
||||||
community_building_name=community_building.building_name,
|
|
||||||
**address.model_dump()
|
**address.model_dump()
|
||||||
)
|
)
|
||||||
|
db_address.community_name = community.name
|
||||||
|
db_address.community_building_name = community_building.building_name
|
||||||
else:
|
else:
|
||||||
db_address = AddressDB(
|
db_address = AddressDB(
|
||||||
user_id=current_user.userid,
|
user_id=current_user.userid,
|
||||||
|
|||||||
BIN
jobs.sqlite
BIN
jobs.sqlite
Binary file not shown.
Loading…
Reference in New Issue
Block a user