Skip to content

Commit

Permalink
Merge pull request #5 from onaio/fixes
Browse files Browse the repository at this point in the history
Fix dependencies bug
  • Loading branch information
KipSigei authored Mar 26, 2024
2 parents e73472c + d9529c0 commit 888ae3f
Show file tree
Hide file tree
Showing 3 changed files with 590 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const fs = require('fs')
const path = require('path')
const queryString = (...args) => import('query-string');
require("dotenv").config()

// LOGGER OPTIONS
Expand All @@ -16,7 +17,6 @@ const axios = require("axios");
async function build() {
const fastify = require("fastify")({ logger: logger });
await fastify.register(require('@fastify/express'));
const queryString = require("query-string");
fastify.use((req, res, done) => {
reqParams = req.url.split("?")[1];
const parsedReqParams = queryString.parse(reqParams);
Expand Down
Loading

0 comments on commit 888ae3f

Please sign in to comment.