update
This commit is contained in:
parent
3ad1286379
commit
34b7ecfcf1
@ -60,10 +60,10 @@ async def get_addresses(
|
|||||||
AddressDB
|
AddressDB
|
||||||
).filter(
|
).filter(
|
||||||
AddressDB.user_id == current_user.userid
|
AddressDB.user_id == current_user.userid
|
||||||
)
|
)
|
||||||
|
|
||||||
if address_type:
|
if address_type:
|
||||||
addresses.filter(AddressDB.address_type == address_type)
|
addresses = addresses.filter(AddressDB.address_type == address_type)
|
||||||
|
|
||||||
if community_id is not None:
|
if community_id is not None:
|
||||||
addresses = addresses.filter(AddressDB.community_id == community_id)
|
addresses = addresses.filter(AddressDB.community_id == community_id)
|
||||||
|
|||||||
BIN
jobs.sqlite
BIN
jobs.sqlite
Binary file not shown.
Loading…
Reference in New Issue
Block a user