Skip to content

Commit

Permalink
ECOM-12329 fix: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cvejk committed Aug 19, 2024
1 parent 14bc59d commit df7501e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domain/redirectdefinition/repository/redirectdefinition.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func NewRedirectsDefinitionRepository(l *zap.Logger, collection *keelmongo.Colle
}
}

func NewBaseRedirectsDefinitionRepository(l *zap.Logger, persistor *keelmongo.Persistor) (rs *BaseRedirectsDefinitionRepository, err error) {
func NewBaseRedirectsDefinitionRepository(l *zap.Logger, persistor *keelmongo.Persistor) (*BaseRedirectsDefinitionRepository, error) {
collection, cErr := persistor.Collection(
"redirects",
keelmongo.CollectionWithIndexes(
Expand Down

0 comments on commit df7501e

Please sign in to comment.