Skip to content

Commit

Permalink
fix: seller api url
Browse files Browse the repository at this point in the history
  • Loading branch information
wemakshaychavan committed Mar 1, 2023
1 parent 7120529 commit 5474f55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions seller-app-api/lib/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ if (env !== 'development') {
// nconf.set('express:port', process.env.PORT);

nconf.set('firebase:account', process.env.FIREBASE_SERVICE_ACCOUNT_JSON_PATH);
nconf.set('strapi:serverUrl', process.env.STRAPI_SERVER_URL);
nconf.set('strapi:apiToken', process.env.STRAPI_API_TOKEN);
nconf.set('strapi:apiToken', process.env.STRAPI_API_TOKEN);
nconf.set('sellerConfig:BPP_URI', process.env.BPP_URI);
nconf.set('seller:serverUrl', process.env.SELLER_SERVER_URL);
nconf.set('sellerConfig:BPP_ID', process.env.BPP_ID);
nconf.set('sellerConfig:BAP_URI', process.env.BAP_ID);
nconf.set('sellerConfig:BAP_ID', process.env.BAP_URI);
Expand Down
2 changes: 1 addition & 1 deletion seller-app-api/utils/schemaMapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports.getProducts = async (data) => {
let productAvailable = []
for(let items of org.items){
let item = {
"id": items.id,
"id": items._id,
"descriptor": {
"name": items.productName,
"symbol": items.images[0],
Expand Down

0 comments on commit 5474f55

Please sign in to comment.