aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mastodon/index.js
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-10-05 16:46:55 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-05 16:46:55 +0200
commit2484c63d77e05fff384cc08b6ea46a29a22a62ec (patch)
tree21b8b74f1788407a4cfb13052160398f13424ac6 /recipes/mastodon/index.js
parentAdd check to ensure that generated file 'user.js' is not present in default p... (diff)
downloadferdium-recipes-2484c63d77e05fff384cc08b6ea46a29a22a62ec.tar.gz
ferdium-recipes-2484c63d77e05fff384cc08b6ea46a29a22a62ec.tar.zst
ferdium-recipes-2484c63d77e05fff384cc08b6ea46a29a22a62ec.zip
chore: repo maintenance (#732)
Diffstat (limited to 'recipes/mastodon/index.js')
-rw-r--r--recipes/mastodon/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/mastodon/index.js b/recipes/mastodon/index.js
index 1dd93cc..9be0938 100644
--- a/recipes/mastodon/index.js
+++ b/recipes/mastodon/index.js
@@ -1,9 +1,9 @@
1module.exports = (Ferdi) => { 1module.exports = Ferdi => {
2 class Mastodon extends Ferdi { 2 class Mastodon extends Ferdi {
3 validateServer(URL) { 3 validateServer(URL) {
4 const api = `${URL}`; 4 const api = `${URL}`;
5 return new Promise((resolve, reject) => { 5 return new Promise((resolve, reject) => {
6 $.get(api, (resp) => { 6 $.get(api, () => {
7 resolve(); 7 resolve();
8 }).fail(reject); 8 }).fail(reject);
9 }); 9 });