Skip to content

Commit 442ac04

Browse files
committed
change PUT to POST
1 parent 1c53021 commit 442ac04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func (b *IndexService) Do() (*IndexResult, error) {
9494
}
9595

9696
// Set up a new request
97-
req, err := b.client.NewRequest("PUT", urls)
97+
req, err := b.client.NewRequest("POST", urls)
9898
if err != nil {
9999
return nil, err
100100
}

0 commit comments

Comments
 (0)