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

@ -3,7 +3,7 @@ import { ApolloClient, createHttpLink, InMemoryCache } from '@apollo/client/core
export const apolloClient = () => {
const httpLink = createHttpLink({
uri: 'http://10.8.0.13:32169/graphql',
uri: 'http://10.8.0.31:32169/graphql',
credentials: 'include', // Include credentials for cross-origin requests
});

View File

@ -13,4 +13,4 @@ const getJenisTransaksi = async () => await instance.get('/jenisTransaksi')
const getUp3 = async (uid: number) => await instance.get('/up3?uid=' + uid)
const getUlp = async (up3: number) => await instance.get('/ulp?up3=' + up3)
const getPosko = async (uppp: number) => await instance.get('/posko?up3=' + uppp)
export { getUid, getUp3, getPosko, getUlp, getMedia, getJenisTransaksi, getUidRegional,getRegional}
export { getUid, getUp3, getPosko, getUlp, getMedia, getJenisTransaksi, getUidRegional, getRegional }