mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-10 16:00:28 -07:00
Removed useless dependency
This commit is contained in:
parent
a02379f240
commit
5198d4b805
2 changed files with 4 additions and 9 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import path from 'path';
|
||||
import { getFileName } from '../../../../FlowHelpers/1.0.0/fileUtils';
|
||||
import {
|
||||
IpluginDetails,
|
||||
|
|
@ -130,8 +129,8 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
|
|||
const arr = String(args.inputs.arr);
|
||||
const arr_host = String(args.inputs.arr_host).trim();
|
||||
const arrHost = arr_host.endsWith('/') ? arr_host.slice(0, -1) : arr_host;
|
||||
const originalFileName = path.join(args.originalLibraryFile?._id ?? '');
|
||||
const currentFileName = path.join(args.inputFileObj?._id ?? '');
|
||||
const originalFileName = args.originalLibraryFile?._id ?? '';
|
||||
const currentFileName = args.inputFileObj?._id ?? '';
|
||||
const headers: IHTTPHeaders = {
|
||||
'Content-Type': 'application/json',
|
||||
'X-Api-Key': String(args.inputs.arr_api_key),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue