Skip to content

Commit

Permalink
fixup! lib mpsks added session as parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
agmes4 committed Sep 22, 2024
1 parent 3a6ef56 commit 2b5b96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/api/v0/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def post(self, user_id: int, password: str, mac: str, name: str) -> ResponseRetu
if not user.wifi_password:
abort(400, message="Legacy wifi password change of password is required.")

mpsk_client_create(session, user, mac, name, user, api=True)
mpsk_client_create(session, user, mac, name, user)
session.session.commit()
except InvalidMACAddressException:
abort(400, message="Invalid MAC address.")
Expand Down

0 comments on commit 2b5b96e

Please sign in to comment.