Skip to content

Commit

Permalink
fixup! fixup! fixup! lib mpsks added session as parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
agmes4 committed Sep 25, 2024
1 parent 512c169 commit 093eaba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/api/v0/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,9 @@ def post(
mpsk = get_mpsk_client_or_404(mpsks_id)

if user != mpsk.owner:
abort(404, message=f"User {user_id} does not own the mpsk client with the id {mpsks_id}")
abort(
404, message=f"User {user_id} does not own the mpsk client with the id {mpsks_id}"
)

try:
mpsk_edit(session, mpsk, user, name, mac, user)
Expand Down

0 comments on commit 093eaba

Please sign in to comment.