Skip to content

Commit

Permalink
fix instagram and big number issue and propmall issue (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
waelhanfi04 authored Jan 17, 2024
2 parents 1e0f5aa + 15449f4 commit bd1c064
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions controllers/external.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const { ObjectId } = require('mongodb')
var sanitize = require('mongo-sanitize')
const web3 = require('web3')
const { externalUpdateStatforUser } = require('../helpers/common')
const Big = require('big.js')

const {
getInstagramUserName,
Expand Down
31 changes: 31 additions & 0 deletions routes/campaign.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,37 @@ router.get('/details/:id', idCheckValidation,campaignDetails)
*/
router.get('/campaignPrompAll/:id', verifyAuth, campaignPrompValidation,campaignPromp)



/**
* @swagger
* /campaign/campaignPrompAllExt/{id}:
* get:
* tags: ["campaign"]
* summary: get campaign pending link
* description: return to user the list of campaign promp ALl <br> without access_token
* produces:
* - application/json
* parameters:
* - in: path
* name: id
* type: string
* description: the campaign id.
* required: true
* - in: query
* name: influencer
* type: string
* description: the influencer wallet_id.
* responses:
* "200":
* description: code,<br>message:"success"
* "401":
* description: error:error message<br>"unothorized"
* "500":
* description: error:"error"
*/
router.get('/campaignPrompAllExt/:id',campaignPrompValidation,campaignPromp)

/**
* @swagger
* /campaign/expandLink/{shortUrl}:
Expand Down

0 comments on commit bd1c064

Please sign in to comment.