Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Mar 4, 2024
1 parent c29f6b1 commit 84480f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@hookform/resolvers": "^3.3.4",
"@midday/events": "workspace:*",
"@midday/gocardless": "workspace:*",
"@midday/providers": "workspace:*",
"@midday/jobs": "workspace:*",
"@midday/kv": "workspace:*",
"@midday/location": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/providers/src/gocardless/gocardless-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export class GoCardLessApi {
}

async deleteRequisition(id: string): Promise<DeleteRequistionResponse> {
return this.#delete<DeleteRequistionResponse>(
return this.#_delete<DeleteRequistionResponse>(
`/api/v2/requisitions/${id}/`
);
}
Expand Down Expand Up @@ -244,7 +244,7 @@ export class GoCardLessApi {
return api.post<TResponse>(path, body, config).then(({ data }) => data);
}

async #delete<TResponse>(
async #_delete<TResponse>(
path: string,
params?: unknown,
config?: AxiosRequestConfig
Expand Down

0 comments on commit 84480f1

Please sign in to comment.