Formatting

This commit is contained in:
kexkey
2020-05-07 12:25:31 -04:00
parent 3ebfcde223
commit 493ce37411

View File

@@ -425,13 +425,13 @@ main() {
;;
ln_listpays)
# GET http://192.168.111.152:8080/ln_listpays
response=$(ln_listpays)
response=$(ln_listpays)
response_to_client "${response}" ${?}
break
;;
ln_getroute)
# GET http://192.168.111.152:8080/ln_getroute/<node_id>/<msatoshi>/<riskfactor>
response=$(ln_getroute $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f3) $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f4) $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f5))
response=$(ln_getroute $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f3) $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f4) $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f5))
response_to_client "${response}" ${?}
break
;;