mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 07:26:22 +02:00
update source attribute
This commit is contained in:
parent
fdc2882b8f
commit
29301a94c1
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ module EisBilling
|
|||
|
||||
parsed_data = JSON.parse(invoice)
|
||||
parsed_data['role'] = 'registrar'
|
||||
parsed_data['source'] = 'registry'
|
||||
parsed_data['description'] = 'some' if parsed_data['description'] == ''
|
||||
|
||||
parsed_data = replace_key(json_obj: parsed_data, old_key: 'total', new_key: 'transaction_amount')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue