Skip to content

Commit

Permalink
invalid value set
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Nov 25, 2023
1 parent 922910d commit 539126a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/websocket_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (c *websocketController) validation() bool {
c.participant.Name = claims.Name
// default set false
c.kws.SetAttribute("isAdmin", claims.IsAdmin)
c.participant.IsAdmin = true
c.participant.IsAdmin = claims.IsAdmin

return true
}
Expand Down

0 comments on commit 539126a

Please sign in to comment.