fix: Adjust info.json files to work with formattedData field
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
6a8ec97c31
commit
e73f33f3db
@@ -1,8 +1,11 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const CREATE_CONNECTION = gql`
|
||||
mutation CreateConnection($key: AvailableAppsEnumType!, $data: JSONObject!) {
|
||||
createConnection(key: $key, formattedData: $data) {
|
||||
mutation CreateConnection(
|
||||
$key: AvailableAppsEnumType!
|
||||
$formattedData: JSONObject!
|
||||
) {
|
||||
createConnection(key: $key, formattedData: $formattedData) {
|
||||
id
|
||||
key
|
||||
verified
|
||||
|
@@ -1,8 +1,8 @@
|
||||
import { gql } from '@apollo/client';
|
||||
|
||||
export const UPDATE_CONNECTION = gql`
|
||||
mutation UpdateConnection($id: String!, $data: JSONObject!) {
|
||||
updateConnection(id: $id, data: $data) {
|
||||
mutation UpdateConnection($id: String!, $formattedData: JSONObject!) {
|
||||
updateConnection(id: $id, formattedData: $formattedData) {
|
||||
id
|
||||
key
|
||||
verified
|
||||
|
Reference in New Issue
Block a user