Skip to content

Commit c388cbd

Browse files
ANKUR DWIVEDIANKUR DWIVEDI
authored andcommitted
added parameter
1 parent 814f299 commit c388cbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ imagekit.getFileVersionDetails({
503503

504504
Update parameters associated with the file as per the [API documentation here](https://docs.imagekit.io/api-reference/media-api/update-file-details). The first argument to the `updateFileDetails` method is the file ID, and the second argument is an object with the parameters to be updated.
505505

506-
Note: If the second parameter, an object with properties to be updated, includes `publish`, all other properties will be ignored.
506+
Note: If `publish` is included in the update options, no other parameters are allowed. If any are present, an error will be returned: `Your request cannot contain any other parameters when publish is present`.
507507

508508
```js
509509
// Using Callback Function

0 commit comments

Comments
 (0)