Skip to content

Commit

Permalink
fix: conflict on case contributors insert should not return an error
Browse files Browse the repository at this point in the history
  • Loading branch information
Pascal-Delange committed Jun 5, 2024
1 parent c81396a commit 667d1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repositories/case_contributor_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (repo *MarbleDbRepository) CreateCaseContributor(ctx context.Context, exec
Values(
caseId,
userId,
)
).Suffix("ON CONFLICT DO NOTHING")

err := ExecBuilder(ctx, exec, query)

Expand Down

0 comments on commit 667d1aa

Please sign in to comment.