Skip to content

Commit 25bbe26

Browse files
committed
Remove redundant options
1 parent af32dc9 commit 25bbe26

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -549,11 +549,6 @@ Sample Usage
549549
| validateFile | Function callback | Optional. Called before the upload is started to run custom validation. The first and only argument is the file selected for upload. If the callback returns `true`, the upload is allowed to continue. But, if it returns `false`, the upload is not done |
550550
| onSuccess | Function callback | Optional. EventEmitter. Called if the upload is successful. The first and only argument is the response JSON from the upload API. The request-id, response headers, and HTTP status code are also accessible using the `$ResponseMetadata` key that is exposed from the [javascript sdk](https://github.com/imagekit-developer/imagekit-javascript#access-request-id-other-response-headers-and-http-status-code) |
551551
| onError | Function callback | Optional. EventEmitter. Called if upload results in an error. The first and only argument is the error received from the upload API |
552-
| urlEndpoint | String | Optional. For example, https://ik.imagekit.io/your_imagekit_id/endpoint/ |
553-
| publicKey | String | Optional |
554-
| authenticationEndpoint | String | Optional |
555-
556-
Note: All three `urlEndpoint`, `publicKey` and `authenticationEndpoint` must be present in the attribute for them to take effect. Otherwise, the SDK will fall back to the values specified in `app.module.ts`.
557552

558553
Sample usage
559554

0 commit comments

Comments
 (0)