Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Mar 10, 2023
1 parent f90b243 commit 1ab5cec
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/http/services/sciencemesh/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@ func (h *tokenHandler) init(c *config) error {
return err
}

if err := h.initInviteLinkTemplate(c.InviteLinkTemplate); err != nil {
return err
}
return nil
return h.initInviteLinkTemplate(c.InviteLinkTemplate)
}

type token struct {
Expand Down

0 comments on commit 1ab5cec

Please sign in to comment.