Skip to content

Commit

Permalink
✨ feat: Rename profil function to refresh for clarity in libraries API
Browse files Browse the repository at this point in the history
  • Loading branch information
Impre-visible committed Nov 18, 2024
1 parent 5cadc31 commit 3a45e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chocolate_app/routes/api/libraries.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@lib_bp.route("/refresh/<lib_id>", methods=["GET", "POST"])
@token_required
def profil(current_user, lib_id):
def refresh(current_user, lib_id):
if not current_user.account_type == "Admin":
return generate_response(Codes.NOT_LOGGED_IN, True)

Expand Down

0 comments on commit 3a45e3a

Please sign in to comment.