mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-02 13:51:48 +00:00
9 lines
263 B
TypeScript
9 lines
263 B
TypeScript
import Bottle from 'bottlejs';
|
|
import { buildShlinkApiClient } from './ShlinkApiClientBuilder';
|
|
|
|
const provideServices = (bottle: Bottle) => {
|
|
bottle.serviceFactory('buildShlinkApiClient', buildShlinkApiClient, 'jsonFetch');
|
|
};
|
|
|
|
export default provideServices;
|