fix: Use arguments and formattedData for smtp auth

This commit is contained in:
Faruk AYDIN
2022-10-23 18:07:54 +02:00
committed by Ali BARIN
parent cb8f6f7b75
commit 61cf45697c
2 changed files with 10 additions and 10 deletions

View File

@@ -64,7 +64,7 @@ export default {
{ {
key: 'port', key: 'port',
label: 'Port', label: 'Port',
type: 'integer', type: 'string',
required: false, required: false,
readOnly: false, readOnly: false,
value: 25, value: 25,
@@ -91,15 +91,15 @@ export default {
step: 1, step: 1,
type: 'mutation', type: 'mutation',
name: 'createConnection', name: 'createConnection',
fields: [ arguments: [
{ {
name: 'key', name: 'key',
value: '{key}', value: '{key}',
}, },
{ {
name: 'data', name: 'formattedData',
value: null, value: null,
fields: [ properties: [
{ {
name: 'host', name: 'host',
value: '{fields.host}', value: '{fields.host}',
@@ -132,7 +132,7 @@ export default {
step: 2, step: 2,
type: 'mutation', type: 'mutation',
name: 'verifyConnection', name: 'verifyConnection',
fields: [ arguments: [
{ {
name: 'id', name: 'id',
value: '{createConnection.id}', value: '{createConnection.id}',
@@ -145,7 +145,7 @@ export default {
step: 1, step: 1,
type: 'mutation', type: 'mutation',
name: 'resetConnection', name: 'resetConnection',
fields: [ arguments: [
{ {
name: 'id', name: 'id',
value: '{connection.id}', value: '{connection.id}',
@@ -156,15 +156,15 @@ export default {
step: 2, step: 2,
type: 'mutation', type: 'mutation',
name: 'updateConnection', name: 'updateConnection',
fields: [ arguments: [
{ {
name: 'id', name: 'id',
value: '{connection.id}', value: '{connection.id}',
}, },
{ {
name: 'data', name: 'formattedData',
value: null, value: null,
fields: [ properties: [
{ {
name: 'host', name: 'host',
value: '{fields.host}', value: '{fields.host}',
@@ -197,7 +197,7 @@ export default {
step: 3, step: 3,
type: 'mutation', type: 'mutation',
name: 'verifyConnection', name: 'verifyConnection',
fields: [ arguments: [
{ {
name: 'id', name: 'id',
value: '{connection.id}', value: '{connection.id}',

View File