1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Some quick updates, cleaning up codebase.

This commit is contained in:
mike12345567 2022-03-09 16:31:08 +00:00
parent 6ccd160fe8
commit 0dc2616025
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")] includePaths: [join(__dirname, "styles")]
}, },
serverRuntimeConfig: { serverRuntimeConfig: {
apiKey: "bf4d86af933b5ac0af0fdbe4bf7d89ff-f929752a1eeaafb00f4b5e3325097d51a44fe4b39f22ed857923409cc75414b379323a25ebfb4916", apiKey: "",
appName: "sales", appName: "sales",
host: "http://localhost:10000" 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) { async function getSales(req: any) {
const { page } = req.query 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() { async function getSalespeople() {
const { _id: appId } = await getApp() const { _id: appId } = await getApp()