File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1515
1616build :
1717 docker-compose -f docker-compose-test.yaml build
18+
1819up_forward : down
19- docker-compose -f docker-compose-test.yaml up -d --scale node=0 && docker-compose -f docker-compose-test.yaml -p 5000:5000 run node /bin/sh
20+ docker-compose -f docker-compose-test.yaml up -d --scale node=0 && docker-compose -f docker-compose-test.yaml run -p 5000:5000 node /bin/sh
Original file line number Diff line number Diff line change 1- const fetch = require ( "node-fetch" ) ;
2- const config = require ( "../config" ) ;
31const { getPropertyById, searchAdminProperties } = require ( "../utils/properties" ) ;
42
53async function getProperty ( req , res , next ) {
Original file line number Diff line number Diff line change 1+ const fetch = require ( "node-fetch" ) ;
2+ const config = require ( "../../config" ) ;
3+
14async function getPropertyById ( propertyId ) {
25 const res = await fetch ( `${ config . admin_server_url } /client/properties/${ propertyId } ` , {
36 method : 'get' ,
You can’t perform that action at this time.
0 commit comments