🐯 Prowlarr Integtration #2

Open
rishighan wants to merge 2 commits from prowlarr-integration into main
Showing only changes of commit 011293376c - Show all commits

View File

@@ -20,14 +20,14 @@ export default class ProwlarrService extends Service {
handler: async (ctx: Context<{}>) => { handler: async (ctx: Context<{}>) => {
try { try {
const result = await axios.request({ const result = await axios.request({
url: `http://192.168.1.183:9696/api/`, url: `http://192.168.1.183:9696/api/v1/history`,
method: `GET`, method: `GET`,
headers: { Accept: "application/json" }, headers: { Accept: "application/json" },
params: { params: {
apiKey: "163ef9a683874f65b53c7be87354b38b", apikey: "163ef9a683874f65b53c7be87354b38b",
} }
}); });
console.log(result);
return result.data; return result.data;
} catch(err) { } catch(err) {
console.log(err); console.log(err);