mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
Merge pull request #566 from eventcally/issues/565
Bugfix outgoing verification requests #565
This commit is contained in:
commit
60d3e03dac
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@ -14,7 +14,7 @@
|
|||||||
"FLASK_ENV": "development",
|
"FLASK_ENV": "development",
|
||||||
"FLASK_DEBUG": "1"
|
"FLASK_DEBUG": "1"
|
||||||
},
|
},
|
||||||
"args": ["run", "--no-debugger"],
|
"args": ["run", "--no-debugger", "--host", "0.0.0.0"],
|
||||||
"justMyCode": false,
|
"justMyCode": false,
|
||||||
"jinja": true
|
"jinja": true
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,9 +1,5 @@
|
|||||||
# Deployment
|
# Deployment
|
||||||
|
|
||||||
## Automatic Deployment
|
|
||||||
|
|
||||||
[](https://heroku.com/deploy)
|
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|||||||
@ -59,7 +59,7 @@ def manage_admin_unit_verification_requests_outgoing(id):
|
|||||||
admin_unit = g.manage_admin_unit
|
admin_unit = g.manage_admin_unit
|
||||||
|
|
||||||
params = AdminUnitVerificationRequestSearchParams()
|
params = AdminUnitVerificationRequestSearchParams()
|
||||||
params.target_admin_unit_id = admin_unit.id
|
params.source_admin_unit_id_admin_unit_id = admin_unit.id
|
||||||
requests = get_verification_requests_outgoing_query(params).paginate()
|
requests = get_verification_requests_outgoing_query(params).paginate()
|
||||||
|
|
||||||
if not admin_unit.is_verified and requests.total == 0:
|
if not admin_unit.is_verified and requests.total == 0:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user