Update groupID type for mutations.
This commit is contained in:
@@ -2,8 +2,8 @@ import { gql } from "@urql/core";
|
||||
|
||||
const addGroup = gql`
|
||||
mutation addGroup(
|
||||
$groupID: BigInt
|
||||
$groupName: String
|
||||
$groupID: String!
|
||||
$groupName: String!
|
||||
$groupUsername: String
|
||||
$mutationKey: String
|
||||
) {
|
||||
@@ -13,12 +13,8 @@ const addGroup = gql`
|
||||
groupUsername: $groupUsername
|
||||
mutationKey: $mutationKey
|
||||
) {
|
||||
telegramID
|
||||
name
|
||||
username
|
||||
linksDeleted
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
@@ -2,8 +2,8 @@ import { gql } from "@urql/core";
|
||||
|
||||
const incrementGroup = gql`
|
||||
mutation incrementGroup(
|
||||
$groupID: BigInt
|
||||
$linksDeleted: Int
|
||||
$groupID: String!
|
||||
$linksDeleted: Int!
|
||||
$mutationKey: String
|
||||
) {
|
||||
incrementGroup(
|
||||
@@ -11,12 +11,9 @@ const incrementGroup = gql`
|
||||
linksDeleted: $linksDeleted
|
||||
mutationKey: $mutationKey
|
||||
) {
|
||||
telegramID
|
||||
name
|
||||
username
|
||||
linksDeleted
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user