expose createApiClient method in api package to public

This commit is contained in:
Gregor Vostrak
2024-08-25 20:22:45 +02:00
parent 64d422f5f7
commit f6d9dfa6bb
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: Publish API package to NPM
on:
workflow_dispatch
push
jobs:
build:
runs-on: ubuntu-latest
+3 -1
View File
@@ -134,4 +134,6 @@ export type MyMemberships = ZodiosResponseByAlias<
export type MyMembership = MyMemberships[0];
export const api = createApiClient('/api', { validate: 'none' });
const api = createApiClient('/api', { validate: 'none' });
export { createApiClient, api };