Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle null clientSecret gracefully (#47)
This commit resolves issue #47 by updating the `casdoor.refreshToken` function to handle `null` values for `clientSecret`. When `clientSecret` is `null`, the field is now excluded from the request body, avoiding type casting errors.
- Loading branch information