Skip to content

Commit

Permalink
fix(utils): remove un-resolved module
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammedmoussa1 committed Sep 29, 2021
1 parent 3595d70 commit 120cbc5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .env.defaults
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
API_DOMAIN=https://next-stg.paymobsolutions.com/api/next/
API_VERSION=1
API_DOMAIN=https://next-stg.paymobsolutions.com/next/api
API_VERSION=1
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"commit": "git-cz",
"local:server": "nodemon './src/paymob-marketplace'",
"generate:doc": "jsdoc -c './jsdoc.json'"

},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/paymob-marketplace/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ const app = express();
app.use(cors());

const { Paymob } = require("../../dist/paymob");
const paymob = Paymob("skt_a67ba5b0a9cfb19e37a685f9216ebf456ddc63aa9706d21c370571269689191b");
const paymob = Paymob("skl_eb7e7ac5117dcd6c0b7539a635f61764aca615bd3b63051606b845c30db3bff8");

const payload = {
amount: "100",
currency: "EGP",
payment_methods: ["card", "kiosk", "wallets", "valu"],
payment_methods: ["card", "kiosk"],
items: [
{
"name": "ASC1515",
Expand Down
2 changes: 0 additions & 2 deletions src/utils/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import {getApiBaseUrl} from "./_getApiBaseUrl";
import {getApiVersion} from "./_getApiVersion";
import {httpPromise} from "./_httpPromise";
import {paymobLogger} from "./_paymobLogger";

export {
getApiBaseUrl,
getApiVersion,
httpPromise,
paymobLogger
};

0 comments on commit 120cbc5

Please sign in to comment.