Files
Homarr/tools/api.ts
Thomas "ajnart" Camlong 1bd7694b52 Move types
2022-05-01 14:46:26 +02:00

8 lines
251 B
TypeScript

import { serviceItem } from './types';
export function pingQbittorrent(service: serviceItem): any {
console.log('Getting service.cookie for service: ', service);
if (!service.cookie) service.cookie = 'Test';
else console.log(service.cookie);
}