Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion csv_processor.bal
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function handleCSVBodyParts(http:Request request) returns string[][]|error {
string baseType = mediaType.getBaseType();
if ("text/csv" == baseType) {
byte[] payload = check bodyPart.getByteArray();
csvLines = check getCSVData(payload);
csvLines.push(...(check getCSVData(payload)));
} else {
return error("Invalid base type, not text/csv");
}
Expand Down