Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlonFireblocks committed Dec 11, 2023
1 parent 052233e commit 2fdac20
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ncw-api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import {
} from "./types";
import { NcwSdk } from "./ncw-sdk";

function normalizePath(rawPath: string) {
return rawPath.replace(/\?$/, "");
}
export class NcwApiClient implements NcwSdk {
private readonly NCW_BASE_PATH = "/v1/ncw/wallets";

Expand Down Expand Up @@ -152,3 +149,7 @@ export class NcwApiClient implements NcwSdk {
{});
}
}

function normalizePath(rawPath: string) {
return rawPath.replace(/\?$/, "");
}

0 comments on commit 2fdac20

Please sign in to comment.