refactor: Redesign twitter trigger and actions

This commit is contained in:
Faruk AYDIN
2022-10-06 10:46:22 +03:00
parent 63ffd1f720
commit 77624acc01
18 changed files with 332 additions and 50 deletions

View File

@@ -1,12 +1,8 @@
import generateRequest from '../common/generate-request';
import {
IJSONObject,
IField,
IGlobalVariableForConnection,
} from '@automatisch/types';
import { IJSONObject, IField, IGlobalVariable } from '@automatisch/types';
import { URLSearchParams } from 'url';
export default async function createAuthData($: IGlobalVariableForConnection) {
export default async function createAuthData($: IGlobalVariable) {
try {
const oauthRedirectUrlField = $.app.fields.find(
(field: IField) => field.key == 'oAuthRedirectUrl'