Skip to content

Commit

Permalink
Merge pull request #509 from HaveAGitGat/add_notify
Browse files Browse the repository at this point in the history
Fix data bug
  • Loading branch information
HaveAGitGat authored Oct 13, 2023
2 parents 9be9a36 + a46d45b commit 138c327
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,12 @@ var details = function () { return ({
inputUI: {
type: 'text',
},
tooltip: 'Input your arr host here. Example: http://192.168.1.1:7878',
tooltip: 'Input your arr host here.'
+ '\\nExample:\\n'
+ 'http://192.168.1.1:7878\\n'
+ 'http://192.168.1.1:8989\\n'
+ 'https://radarr.domain.com\\n'
+ 'https://sonarr.domain.com\\n',
},
],
outputs: [
Expand Down Expand Up @@ -141,7 +146,7 @@ var plugin = function (args) { return __awaiter(void 0, void 0, void 0, function
return [4 /*yield*/, args.deps.axios(requestConfig)];
case 4:
res = _b.sent();
seriesId = res.data.data.series.id;
seriesId = res.data.series.id;
requestConfig2 = {
method: 'post',
url: "".concat(arrHost, "/api/v3/command"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const plugin = async (args: IpluginInputArgs): Promise<IpluginOutputArgs> => {
};

const res = await args.deps.axios(requestConfig);
const seriesId = res.data.data.series.id;
const seriesId = res.data.series.id;

const requestConfig2 = {
method: 'post',
Expand Down

0 comments on commit 138c327

Please sign in to comment.