Skip to content

Commit

Permalink
Change text/plain to text/uma-invoice for metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenlu committed Sep 9, 2024
1 parent 752db16 commit d9ea52d
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 d9ea52d

Please sign in to comment.