shlink-web-client/src/api/services/provideServices.ts

7 lines
243 B
TypeScript
Raw Normal View History

2023-02-18 12:40:37 +03:00
import type Bottle from 'bottlejs';
2022-05-28 11:47:39 +03:00
import { buildShlinkApiClient } from './ShlinkApiClientBuilder';
2023-02-18 13:37:49 +03:00
export const provideServices = (bottle: Bottle) => {
bottle.serviceFactory('buildShlinkApiClient', buildShlinkApiClient, 'HttpClient');
};