chore: Use key instead of name as parameter for getApp query

This commit is contained in:
Faruk AYDIN
2021-10-17 16:04:20 +02:00
committed by Ali BARIN
parent 48ba4565e4
commit 8de65e52ab
6 changed files with 11 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
{
"name": "Twitch",
"key": "twitch",
"slug": "twitch",
"iconUrl": "https://automatisch.io/apps/twitch.png",
"docUrl": "https://automatisch.io/docs/twitch",
"primaryColor": "6441a5",

View File

@@ -16,7 +16,7 @@ export default class Twitter {
});
this.connectionData = connectionData;
this.appData = App.findOneByName('twitter');
this.appData = App.findOneByKey('twitter');
}
async createAuthLink() {

View File

@@ -1,7 +1,6 @@
{
"name": "Twitter",
"key": "twitter",
"slug": "twitter",
"iconUrl": "https://automatisch.io/apps/twitter.png",
"docUrl": "https://automatisch.io/docs/twitter",
"primaryColor": "2DAAE1",