Skip to content

Commit dbd475b

Browse files
committed
fix update method signature
Signed-off-by: dimaxgl <[email protected]>
1 parent 9e6721f commit dbd475b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/osnadmin/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212

1313
// Update channel configuration using presented config envelope.
1414
func Update(ctx context.Context, osnURL, channelID string, caCertPool *x509.CertPool, tlsClientCert tls.Certificate, configEnvelope []byte) (*http.Response, error) {
15-
url := fmt.Sprintf("%s/participation/v1/channels/%s", osnURL, channelID)
15+
url := fmt.Sprintf("%s/participation/v1/channels", osnURL)
1616

1717
req, err := createUpdateRequest(ctx, url, configEnvelope)
1818
if err != nil {

0 commit comments

Comments
 (0)