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,11 @@
import { IGlobalVariable } from '@automatisch/types';
const verifyCredentials = async ($: IGlobalVariable) => {
await $.http.get('/v2/usage');
await $.auth.set({
screenName: $.auth.data.screenName,
});
};
export default verifyCredentials;