Some quick updates, cleaning up codebase.

This commit is contained in:
mike12345567 2022-03-09 16:31:08 +00:00
parent c53fc74b97
commit 418c00c52a
5 changed files with 3 additions and 8 deletions

View File

@ -1,5 +0,0 @@
{
"apiKey": "",
"appName": "",
"host": "http://localhost:10000"
}

View File

@ -6,7 +6,7 @@ const nextConfig = {
includePaths: [join(__dirname, "styles")]
},
serverRuntimeConfig: {
apiKey: "bf4d86af933b5ac0af0fdbe4bf7d89ff-f929752a1eeaafb00f4b5e3325097d51a44fe4b39f22ed857923409cc75414b379323a25ebfb4916",
apiKey: "",
appName: "sales",
host: "http://localhost:10000"
}

View File

@ -1,4 +1,4 @@
import { getApp, findTable, makeCall } from "../../components/utils"
import { getApp, findTable, makeCall } from "../../utilities"
async function getSales(req: any) {
const { page } = req.query

View File

@ -1,4 +1,4 @@
import { getApp, findTable, makeCall } from "../../components/utils"
import { getApp, findTable, makeCall } from "../../utilities"
async function getSalespeople() {
const { _id: appId } = await getApp()