refactor(soundboard): remove unused client information from play_sound method

This commit is contained in:
JSC
2025-07-05 12:43:22 +02:00
parent 2f7ffbbfe4
commit 41fc197f4c

View File

@@ -53,15 +53,9 @@ def play_sound(sound_id: int):
user = get_current_user()
user_id = int(user["id"]) if user else None
# Get client information
ip_address = request.remote_addr
user_agent = request.headers.get("User-Agent")
success = vlc_service.play_sound(
sound_id=sound_id,
user_id=user_id,
ip_address=ip_address,
user_agent=user_agent,
)
if success: