Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use safe cast in KeeperRecordData.getField()
Replace unsafe cast (as T) with safe cast operator (as? T) in getField() to prevent NPE when uploading files to records without FileRef field. This fixes an issue where attempting to upload a file to a record without an initialized FileRef field would throw: "null cannot be cast to non-null type FileRef" Fixes #698
- Loading branch information