Skip to content

Commit

Permalink
Fix SQLAlchemy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaudiuGeorgiu committed Jul 27, 2024
1 parent f138ac8 commit cb46eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def get_apk_details():
try:
# An exception will be thrown if the query string doesn't contain an md5.
md5 = request.args["md5"]
apk = Apk.query.get(md5)
apk = db.session.get(Apk, md5)
response = {
"name": apk.name,
"md5": apk.md5,
Expand Down

0 comments on commit cb46eff

Please sign in to comment.