Skip to content

Commit

Permalink
fix: u should know better (type mismatch)
Browse files Browse the repository at this point in the history
  • Loading branch information
whoabuddy committed Jan 6, 2025
1 parent 897bd88 commit eebe5d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

(define-public (execute (sender principal))
;; adds a resource that can be used to pay invoices
(contract-call? .aibtc-payments-invoices add-resource "example-resource" "An example resource" u1000000 (some "https://example.com"))
(contract-call? .aibtc-payments-invoices add-resource u"example-resource" u"An example resource" u1000000 (some u"https://example.com"))
)
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

(define-public (execute (sender principal))
;; pays an invoice for a resource by name
(contract-call? .aibtc-payments-invoices pay-invoice-by-resource-name "example-resource" none)
(contract-call? .aibtc-payments-invoices pay-invoice-by-resource-name u"example-resource" none)
)
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

(define-public (execute (sender principal))
;; toggles enabled status for resource by name
(contract-call? .aibtc-payments-invoices toggle-resource-by-name "example-resource")
(contract-call? .aibtc-payments-invoices toggle-resource-by-name u"example-resource")
)
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

(define-public (execute (sender principal))
;; sets the token uri for the dao token
(contract-call? .aibtc-token-owner set-token-uri "https://example.com/token.json")
(contract-call? .aibtc-token-owner set-token-uri u"https://example.com/token.json")
)

0 comments on commit eebe5d8

Please sign in to comment.