Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
dermetfan committed Jun 21, 2022
1 parent 1039c8a commit 205dbee
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/infrastructure/persistence/action.go
Expand Up @@ -18,13 +18,11 @@ type actionRepository struct {
}

func NewActionRepository(db config.PgxIface) repository.ActionRepository {
return &actionRepository{DB: db}
return &actionRepository{db}
}

func (a *actionRepository) WithQuerier(querier config.PgxIface) repository.ActionRepository {
return &actionRepository{
DB: querier,
}
return &actionRepository{querier}
}

func (a *actionRepository) GetById(id uuid.UUID) (*domain.Action, error) {
Expand Down

0 comments on commit 205dbee

Please sign in to comment.