Skip to content

Commit

Permalink
added parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
ANKUR DWIVEDI authored and ANKUR DWIVEDI committed Aug 23, 2024
1 parent 814f299 commit c388cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ imagekit.getFileVersionDetails({

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.

Note: If the second parameter, an object with properties to be updated, includes `publish`, all other properties will be ignored.
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`.

```js
// Using Callback Function
Expand Down

0 comments on commit c388cbd

Please sign in to comment.