Spaces:
Sleeping
Sleeping
jacobinathanialpeterson
commited on
Commit
•
469ff92
1
Parent(s):
89f981a
Update app.py
Browse files
app.py
CHANGED
@@ -40,6 +40,7 @@ def post():
|
|
40 |
|
41 |
@app.route('/messages', methods=['POST'])
|
42 |
def messages():
|
|
|
43 |
roomidInput = flask.request.get_json()['roomIdInput']
|
44 |
if roomidInput in rooms:
|
45 |
return flask.jsonify(rooms[roomidInput])
|
|
|
40 |
|
41 |
@app.route('/messages', methods=['POST'])
|
42 |
def messages():
|
43 |
+
print(len(rooms))
|
44 |
roomidInput = flask.request.get_json()['roomIdInput']
|
45 |
if roomidInput in rooms:
|
46 |
return flask.jsonify(rooms[roomidInput])
|