Skip to content

Commit c29a058

Browse files
younGihanCopilot
andauthored
Update client/payment_method.go
Co-authored-by: Copilot <[email protected]>
1 parent 27c1f76 commit c29a058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/payment_method.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type MeshPaymentMethodCreateMetadata struct {
4444
}
4545

4646
func (c *MeshStackProviderClient) urlForPaymentMethod(workspace string, identifier string) *url.URL {
47-
return c.endpoints.PaymentMethods.JoinPath(identifier)
47+
return c.endpoints.PaymentMethods.JoinPath(workspace, identifier)
4848
}
4949

5050
func (c *MeshStackProviderClient) ReadPaymentMethod(workspace string, identifier string) (*MeshPaymentMethod, error) {

0 commit comments

Comments
 (0)