refactor lidarr widget

This commit is contained in:
Ben Phelps 2022-09-26 10:58:14 +03:00
parent 1840e9a57a
commit a83d5132d9
3 changed files with 27 additions and 8 deletions

View file

@ -1,7 +1,3 @@
// const formats = {
// lidarr: `{url}/api/v1/{endpoint}?apikey={key}`,
// };
export function formatApiCall(url, args) {
const find = /\{.*?\}/g;
const replace = (match) => {