Bump dependencies
This commit is contained in:
1 parent
4352c400b4
commit
b59a5ce858
10 files changed
+131
-171
No files matched your search
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user