Skip to content

Commit

Permalink
fix(Kinesis): Fixing a crash when the data in the db was nil
Browse files Browse the repository at this point in the history
  • Loading branch information
ruisebas committed Oct 18, 2024
1 parent 19ab7d4 commit c7053f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AWSKinesis/AWSAbstractKinesisRecorder.m
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ - (AWSTask *)submitAllRecords {
while ([rs next]) {
[temporaryRecords addObject:@{
@"partition_key": [rs stringForColumn:@"partition_key"],
@"data": [rs dataForColumn:@"data"],
@"data": [rs dataForColumn:@"data"] ?: [NSNull null],
@"stream_name": [rs stringForColumn:@"stream_name"],
}];

Expand Down

0 comments on commit c7053f0

Please sign in to comment.