refactor: add formattedData in IConnection references

This commit is contained in:
Ali BARIN
2022-03-05 01:27:00 +03:00
committed by Ömer Faruk Aydın
parent 719a948134
commit 6a8ec97c31
9 changed files with 22 additions and 21 deletions
@@ -2,11 +2,11 @@ import { gql } from '@apollo/client';
export const CREATE_CONNECTION = gql`
mutation CreateConnection($key: AvailableAppsEnumType!, $data: JSONObject!) {
createConnection(key: $key, data: $data) {
createConnection(key: $key, formattedData: $data) {
id
key
verified
data {
formattedData {
screenName
}
app {
@@ -6,7 +6,7 @@ export const UPDATE_CONNECTION = gql`
id
key
verified
data {
formattedData {
screenName
}
}
@@ -5,7 +5,7 @@ export const VERIFY_CONNECTION = gql`
verifyConnection(id: $id) {
id
verified
data {
formattedData {
screenName
}
}