mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-10 16:00:28 -07:00
Final test completed
This commit is contained in:
parent
88227593f5
commit
da5806b00f
2 changed files with 2 additions and 2 deletions
|
|
@ -191,7 +191,7 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
|
|||
const newPathOutput = await getNewPath(arr === 'radarr' ? getNewPathTypes.radarr : getNewPathTypes.sonarr);
|
||||
|
||||
return {
|
||||
outputFileObj: newPathOutput.isSuccessful && newPathOutput.newPath ? { ...args.inputFileObj, _id: newPathOutput.newPath } : args.inputFileObj,
|
||||
outputFileObj: newPathOutput.isSuccessful && newPathOutput.newPath !== '' ? { ...args.inputFileObj, _id: newPathOutput.newPath } : args.inputFileObj,
|
||||
outputNumber: newPathOutput.isSuccessful ? 1 : 2,
|
||||
variables: args.variables,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue