Update main.py
Browse files
main.py
CHANGED
|
@@ -1,5 +1,3 @@
|
|
| 1 |
-
Here’s the fully cleaned-up app.py. I’ve removed duplicates, fixed any mismatched verifications (verify_global_admin vs. verify_org_manager), consolidated helper imports, and ensured every route is unique and correctly wired. You can copy-and-paste this directly.
|
| 2 |
-
|
| 3 |
import os
|
| 4 |
import io
|
| 5 |
import json
|
|
@@ -506,7 +504,6 @@ def delete_user(uid):
|
|
| 506 |
return jsonify(error=str(e)),500
|
| 507 |
|
| 508 |
|
| 509 |
-
|
| 510 |
# ========================================
|
| 511 |
if __name__ == '__main__':
|
| 512 |
app.run(debug=True, host="0.0.0.0", port=7860)
|
|
|
|
|
|
|
|
|
|
| 1 |
import os
|
| 2 |
import io
|
| 3 |
import json
|
|
|
|
| 504 |
return jsonify(error=str(e)),500
|
| 505 |
|
| 506 |
|
|
|
|
| 507 |
# ========================================
|
| 508 |
if __name__ == '__main__':
|
| 509 |
app.run(debug=True, host="0.0.0.0", port=7860)
|