Skip to content

Commit

Permalink
chore: fix typo in HTTPGatewayRouter class name
Browse files Browse the repository at this point in the history
Gatway -> Gateway
  • Loading branch information
achingbrain authored Oct 24, 2024
1 parent b723a1d commit 9229757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/routers/src/http-gateway-routing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function toPeerInfo (url: string | URL): PeerInfo {
}
}

class HTTPGatwayRouter implements Partial<Routing> {
class HTTPGatewayRouter implements Partial<Routing> {
private readonly gateways: PeerInfo[]

constructor (init: HTTPGatwayRouterInit = {}) {
Expand All @@ -52,5 +52,5 @@ class HTTPGatwayRouter implements Partial<Routing> {
* Returns a static list of HTTP Gateways as providers
*/
export function httpGatewayRouting (init: HTTPGatwayRouterInit = {}): Partial<Routing> {
return new HTTPGatwayRouter(init)
return new HTTPGatewayRouter(init)
}

0 comments on commit 9229757

Please sign in to comment.