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

9 lines
263 B
TypeScript
Raw Normal View History

import Bottle from 'bottlejs';
2022-05-28 11:47:39 +03:00
import { buildShlinkApiClient } from './ShlinkApiClientBuilder';
const provideServices = (bottle: Bottle) => {
bottle.serviceFactory('buildShlinkApiClient', buildShlinkApiClient, 'jsonFetch');
};
export default provideServices;