Merge pull request #435 from automatisch/refactor/user-tweet-trigger

refactor: Adjust architecture for twitter client and user tweet trigger
This commit is contained in:
Ömer Faruk Aydın
2022-08-12 00:13:48 +03:00
committed by GitHub
12 changed files with 305 additions and 108 deletions

View File

@@ -30,7 +30,8 @@ const getConnectedApps = async (
.flat()
.filter(Boolean);
const usedApps = [...new Set(duplicatedUsedApps)];
const connectionKeys = connections.map((connection) => connection.key);
const usedApps = [...new Set([...duplicatedUsedApps, ...connectionKeys])];
apps = apps
.filter((app: IApp) => {