(b []byte)
| 82 | } |
| 83 | |
| 84 | func nullIfEmpty(b []byte) interface{} { |
| 85 | if len(b) == 0 { |
| 86 | return nil |
| 87 | } |
| 88 | return string(b) |
| 89 | } |
| 90 | |
| 91 | func (s *postgresStore) UpdateRequest(ctx context.Context, requestID string, patch RequestPatch) error { |
| 92 | r, err := s.GetRequest(ctx, requestID) |