mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-14 12:06:42 +08:00
merged /v1/ and /v2/ price outputs
This commit is contained in:
@@ -185,7 +185,7 @@ def get_fixtures():
|
||||
{
|
||||
'route': '/v1/prices/namespaces/id',
|
||||
'status': 200,
|
||||
'body': {"satoshis": 400000000},
|
||||
'body': {"satoshis": 400000000, "units": "BTC", "amount": "400000000"},
|
||||
},
|
||||
{
|
||||
'route': '/v1/prices/namespaces/ID',
|
||||
@@ -198,7 +198,7 @@ def get_fixtures():
|
||||
{
|
||||
'route': '/v1/prices/names/foo.test',
|
||||
'status': 200,
|
||||
'body': {"name_price": {"satoshis": 640000}},
|
||||
'body': {"name_price": {"satoshis": 640000, "units": "BTC", "amount": "640000"}},
|
||||
},
|
||||
{
|
||||
'route': '/v1/prices/names/hello.foo.test',
|
||||
|
||||
Reference in New Issue
Block a user