Skip to content

Commit

Permalink
fix the test error during the build process
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogenbertrand committed Sep 6, 2024
1 parent 61d414b commit fc9de88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/continous-monitor/update_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from flask_limiter.util import get_remote_address

app = Flask(__name__)
limiter = Limiter(app, key_func=get_remote_address)
limiter = Limiter(get_remote_address, app=app)

def get_users():
response = requests.get("http://localhost:5000/api/users")
Expand Down

0 comments on commit fc9de88

Please sign in to comment.