Skip to content

Commit 40ec77d

Browse files
algolia-botFluf22
andcommitted
chore: generated code for commit 699fff2. [skip ci]
Co-authored-by: Thomas Raffray <[email protected]>
1 parent 699fff2 commit 40ec77d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

clients/algoliasearch-client-javascript/packages/ingestion/src/ingestionClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ export function createIngestionClient({
450450
const queryParameters: QueryParameters = {};
451451

452452
const request: Request = {
453-
method: 'POST',
453+
method: 'PUT',
454454
path: requestPath,
455455
queryParameters,
456456
headers,
@@ -485,7 +485,7 @@ export function createIngestionClient({
485485
const queryParameters: QueryParameters = {};
486486

487487
const request: Request = {
488-
method: 'POST',
488+
method: 'PUT',
489489
path: requestPath,
490490
queryParameters,
491491
headers,

specs/bundled/ingestion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ paths:
13251325
'400':
13261326
$ref: '#/components/responses/BadRequest'
13271327
/1/tasks/{taskID}/enable:
1328-
post:
1328+
put:
13291329
tags:
13301330
- ingestion
13311331
summary: Enable a task.
@@ -1343,7 +1343,7 @@ paths:
13431343
'400':
13441344
$ref: '#/components/responses/BadRequest'
13451345
/1/tasks/{taskID}/disable:
1346-
post:
1346+
put:
13471347
tags:
13481348
- ingestion
13491349
summary: Disable a task.

0 commit comments

Comments
 (0)