Update groupID type for mutations.

This commit is contained in:
2025-12-16 15:23:04 -05:00
parent 2050e61706
commit 8076b984f5
2 changed files with 4 additions and 11 deletions

View File

@@ -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
}
}
`;

View File

@@ -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
}
}
`;