Fixed bookings and timezone problems
This commit is contained in:
@@ -27,7 +27,13 @@ const uploadDoorLockData = (req, res) => {
|
||||
parserResults.forEach((parserResult) => {
|
||||
parsedData.push(...parserResult.parsedData);
|
||||
parserErrors.push(...parserResult.errors);
|
||||
unknownMembers.push(...parserResult.unknownMembers);
|
||||
|
||||
parserResult.unknownMembers.forEach((newUnknownMember) => {
|
||||
// Check if member is already labeled as unknown in different file
|
||||
if (!unknownMembers.find((unknownMember) => unknownMember.details === newUnknownMember.details)){
|
||||
unknownMembers.push(newUnknownMember);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
const asyncWriteJobs = [];
|
||||
|
||||
Reference in New Issue
Block a user