Skip to content

Commit

Permalink
Fix register route not being public
Browse files Browse the repository at this point in the history
  • Loading branch information
saffronjam committed May 31, 2024
1 parent 97b2e57 commit cd9f682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/routes/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func RegisterRoutes() *RegisterRoutingGroup {
return &RegisterRoutingGroup{}
}

func (group *RegisterRoutingGroup) PrivateRoutes() []Route {
func (group *RegisterRoutingGroup) PublicRoutes() []Route {
return []Route{
{Method: "POST", Pattern: RegisterPath, HandlerFunc: v2.Register},
}
Expand Down

0 comments on commit cd9f682

Please sign in to comment.