Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def home():
|
|
| 45 |
)
|
| 46 |
|
| 47 |
# GET all accounts
|
| 48 |
-
@app.route('/
|
| 49 |
def get_all_accounts():
|
| 50 |
return create_response(
|
| 51 |
data={"accounts": fake_db["accounts"]},
|
|
|
|
| 45 |
)
|
| 46 |
|
| 47 |
# GET all accounts
|
| 48 |
+
@app.route('/users', methods=['GET'])
|
| 49 |
def get_all_accounts():
|
| 50 |
return create_response(
|
| 51 |
data={"accounts": fake_db["accounts"]},
|