Some quick updates, cleaning up codebase.
This commit is contained in:
parent
c53fc74b97
commit
418c00c52a
|
@ -1,5 +0,0 @@
|
||||||
{
|
|
||||||
"apiKey": "",
|
|
||||||
"appName": "",
|
|
||||||
"host": "http://localhost:10000"
|
|
||||||
}
|
|
|
@ -6,7 +6,7 @@ const nextConfig = {
|
||||||
includePaths: [join(__dirname, "styles")]
|
includePaths: [join(__dirname, "styles")]
|
||||||
},
|
},
|
||||||
serverRuntimeConfig: {
|
serverRuntimeConfig: {
|
||||||
apiKey: "bf4d86af933b5ac0af0fdbe4bf7d89ff-f929752a1eeaafb00f4b5e3325097d51a44fe4b39f22ed857923409cc75414b379323a25ebfb4916",
|
apiKey: "",
|
||||||
appName: "sales",
|
appName: "sales",
|
||||||
host: "http://localhost:10000"
|
host: "http://localhost:10000"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { getApp, findTable, makeCall } from "../../components/utils"
|
import { getApp, findTable, makeCall } from "../../utilities"
|
||||||
|
|
||||||
async function getSales(req: any) {
|
async function getSales(req: any) {
|
||||||
const { page } = req.query
|
const { page } = req.query
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { getApp, findTable, makeCall } from "../../components/utils"
|
import { getApp, findTable, makeCall } from "../../utilities"
|
||||||
|
|
||||||
async function getSalespeople() {
|
async function getSalespeople() {
|
||||||
const { _id: appId } = await getApp()
|
const { _id: appId } = await getApp()
|
||||||
|
|
Loading…
Reference in New Issue