Backport "source" to V2 API
This commit is contained in:
parent
ec738f6721
commit
fc1414f326
|
@ -195,7 +195,7 @@ func addV2API(router *httprouter.Router, db lurkcoin.Database,
|
|||
return nil, errors.New("ERR_SERVERNOTFOUND")
|
||||
}
|
||||
|
||||
_, err = r.Server.Pay("", target, targetServer,
|
||||
_, err = r.Server.Pay(f.Get("source"), target, targetServer,
|
||||
amount, isYes(f.Get("local_currency")), true)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Reference in New Issue