shlink-web-client/src/api/services/provideServices.ts
2023-02-18 11:37:49 +01:00

6 lines
243 B
TypeScript

import type Bottle from 'bottlejs';
import { buildShlinkApiClient } from './ShlinkApiClientBuilder';
export const provideServices = (bottle: Bottle) => {
bottle.serviceFactory('buildShlinkApiClient', buildShlinkApiClient, 'HttpClient');
};