update source attribute

This commit is contained in:
olegphenomenon 2022-01-23 11:43:21 +02:00
parent fdc2882b8f
commit 29301a94c1

View file

@ -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')