Skip to content

Commit 0ac32d6

Browse files
committed
Merge branch 'main' into release
2 parents dd0ff31 + c4599fc commit 0ac32d6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

api/src/utils/open-payments.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,9 @@ export class OpenPaymentsService {
232232
throw new Error('Expected finalized grant.')
233233
}
234234

235-
const url = new URL(walletAddress.resourceServer).origin
236-
237235
const outgoingPayment = await this.client!.outgoingPayment.create(
238236
{
239-
url: url,
237+
url: walletAddress.resourceServer,
240238
accessToken: continuation.access_token.value
241239
},
242240
{

0 commit comments

Comments
 (0)