2024-11-15 13:39:23: merge [main:ac1457e534d62c78d515db685ff817ffd1998a06];

This commit is contained in:
txix committed 2024-11-15 13:39:23 +03:00
1 parent daf35df301
commit f8074400a1
12 files changed
+141 -172

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ func (c Audit) SetEvents(ctx context.Context, req []domain.SetAuditEvent) error
err := c.service.SetEvents(ctx, req)
switch {
case errors.As(err, &domain.UnknownAuditEventError{}):
return status.Errorf(codes.InvalidArgument, err.Error())
return status.Error(codes.InvalidArgument, err.Error())
default:
return err
}