Skip to content

Commit

Permalink
fix: intent for trade creation (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melisa Anabella Rossi authored Oct 2, 2024
1 parent 2afbf2e commit b659f13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/trades/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('when adding a new trade', () => {
body: JSON.stringify(trade),
metadata: {
signer: 'dcl:test',
intent: 'dcl:test:create-trade'
intent: 'dcl:create-trade'
},
headers: {
'Content-Type': 'application/json'
Expand Down
2 changes: 1 addition & 1 deletion src/modules/trades/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class TradesAPI extends BaseClient {
body: JSON.stringify(trade),
metadata: {
signer: this.signer,
intent: `${this.signer}:create-trade`
intent: 'dcl:create-trade'
},
headers: {
'Content-Type': 'application/json'
Expand Down

0 comments on commit b659f13

Please sign in to comment.