Skip to content

Commit

Permalink
chore: Websockets auth for users instead of user (#2833)
Browse files Browse the repository at this point in the history
  • Loading branch information
StaNov authored Jan 13, 2025
1 parent b114bcd commit a92d5af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class WebSocketConfig(
) {
val userId =
destination?.let {
"/user/([0-9]+)".toRegex().find(it)?.groupValues
"/users/([0-9]+)".toRegex().find(it)?.groupValues
?.getOrNull(1)?.toLong()
} ?: return

Expand Down

0 comments on commit a92d5af

Please sign in to comment.