Skip to content

Commit

Permalink
remove unncessary error check
Browse files Browse the repository at this point in the history
  • Loading branch information
technicallyty committed Jan 13, 2025
1 parent 2b50c06 commit db043fe
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/v2/api/grpcgateway/interceptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ func newGatewayInterceptor[T transaction.Tx](logger log.Logger, gateway *runtime
}
// convert the mapping to regular expressions for URL matching.
wildcardMatchers, simpleMatchers := createRegexMapping(logger, getMapping)
if err != nil {
return nil, err
}
matcher := uriMatcher{
wildcardURIMatchers: wildcardMatchers,
simpleMatchers: simpleMatchers,
Expand Down

0 comments on commit db043fe

Please sign in to comment.