Change name of file and query.
This commit is contained in:
14
src/graphql/queries/getStatsRange.ts
Normal file
14
src/graphql/queries/getStatsRange.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { gql } from "@urql/next";
|
||||
|
||||
const GetStatsRange = gql`
|
||||
query getStatsRange($startDate: Date, $endDate: Date) {
|
||||
getStatsRange(endDate: $startDate, startDate: $endDate) {
|
||||
commandResponses
|
||||
createdAt
|
||||
linksDeleted
|
||||
timesTriggered
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export default GetStatsRange;
|
||||
Reference in New Issue
Block a user