fix: replace DateTime with Date and add gql resolver date name
This commit is contained in:
parent
bad3d291ca
commit
0ae8c691c2
5 changed files with 13 additions and 21 deletions
|
|
@ -37,8 +37,8 @@ const GET_MACHINE_LOGS_CSV = gql`
|
|||
query MachineLogs(
|
||||
$deviceId: ID!
|
||||
$limit: Int
|
||||
$from: DateTime
|
||||
$until: DateTime
|
||||
$from: Date
|
||||
$until: Date
|
||||
$timezone: String
|
||||
) {
|
||||
machineLogsCsv(
|
||||
|
|
@ -52,12 +52,7 @@ const GET_MACHINE_LOGS_CSV = gql`
|
|||
`
|
||||
|
||||
const GET_MACHINE_LOGS = gql`
|
||||
query MachineLogs(
|
||||
$deviceId: ID!
|
||||
$limit: Int
|
||||
$from: DateTime
|
||||
$until: DateTime
|
||||
) {
|
||||
query MachineLogs($deviceId: ID!, $limit: Int, $from: Date, $until: Date) {
|
||||
machineLogs(
|
||||
deviceId: $deviceId
|
||||
limit: $limit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue