feat: Add DeepL integration with translate text action

This commit is contained in:
Faruk AYDIN
2022-11-07 18:28:20 +01:00
parent d681d06de1
commit 527dfe6971
9 changed files with 242 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { IGlobalVariable } from '@automatisch/types';
import verifyCredentials from './verify-credentials';
const isStillVerified = async ($: IGlobalVariable) => {
try {
await verifyCredentials($);
return true;
} catch (error) {
return false;
}
};
export default isStillVerified;