Update posko parameter to accept integer instead of string

This commit is contained in:
Eko Haryadi
2024-02-23 10:46:21 +07:00
parent ef73152128
commit c58904aa32
42 changed files with 144 additions and 163 deletions

View File

@@ -90,7 +90,7 @@ query rekapitulasiGangguanAlihPosko
(
$dateFrom: Date!
$dateTo: Date!
$posko: String!
$posko: Int!
$idUid: Int!
$idUp3: Int!
) {
@@ -113,7 +113,7 @@ query rekapitulasiGangguanAlihPosko
const { onResult, onError,loading,refetch } = useQuery(GET_REKAPITULASI_GANGGUAN_ALIH_POSKO, {
dateFrom: new Date("2023-10-01").toISOString().slice(0, 10),
dateTo: new Date("2023-10-01").toISOString().slice(0, 10),
posko: "",
posko: 0,
idUid: 0,
idUp3: 0,
})