404 error fixed in mobile api

This commit is contained in:
2026-05-05 11:50:13 +05:30
parent 70c6176071
commit ff11b80b36
2 changed files with 32 additions and 5 deletions

View File

@@ -206,11 +206,27 @@ export const graphqlMeta = {
},
getlocationsconfig: {
query: /* GraphQL */ /* GraphQL */ `
query GetLocationsConfig {
app_location_config {
configid
configvalue
locationid
query GetLocations {
details: app_location(where: {status: {_eq: "Active"}}) {
applocationid
locationname
image
city
state
postcode
latitude
longitude
opentime
closetime
radius
applocationadmins: app_locationconfigs(where: {notify: {_eq: "true"}}) {
applocationid
userid
notify
app_user {
userfcmtokem: userfcmtoken
}
}
}
}
`,
@@ -1150,6 +1166,7 @@ export const topics = [
name: "getlocationsconfig",
method: "GET",
url: "/api/rest/getlocationsconfig",
useGraphql: true,
description: "Get location configuration settings.",
},
],