Skip to content
Snippets Groups Projects
Commit e9d93e9a authored by Jan Reher's avatar Jan Reher
Browse files

Fixed the way the capsule serial is created.

parent fdc7ad94
No related branches found
No related tags found
2 merge requests!4Many proven updates being brought into stable branch.,!3Commented in the lines in apdUnitCreator.cpp that do the actual database
Pipeline #1600 failed with stages
in 1 second
......@@ -49,7 +49,7 @@ int main(int argc, char* argv[]) {
for (auto newUnit = newUnits.begin(); newUnit < newUnits.end(); newUnit++) {
proddb->createApdCapsule(newUnit->redSerial, newUnit->blueSerial);
std::string capsuleSerial = newUnit->redSerial + "/" + newUnit->blueSerial;
std::string capsuleSerial = newUnit->blueSerial + "/" + newUnit->redSerial;
proddb->createApdUnit(capsuleSerial, newUnit->crystalSerial, newUnit->barCode);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment