Skip to content

Commit 1f0d9d0

Browse files
committed
fix update method signature
1 parent 4708194 commit 1f0d9d0

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)