Skip to content

Commit

Permalink
Change text/plain to text/uma-invoice for metadata (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenlu authored Sep 9, 2024
1 parent 752db16 commit bf52933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uma/uma.go
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ func addInvoiceUUIDToMetadata(metadata string, invoiceUUID string) (string, erro
if err != nil {
return "", err
}
invoice := []interface{}{"text/plain", invoiceUUID}
invoice := []interface{}{"text/uma-invoice", invoiceUUID}
data = append(data, invoice)
updatedJSON, err := json.Marshal(data)
if err != nil {
Expand Down

0 comments on commit bf52933

Please sign in to comment.