Skip to content

Commit

Permalink
Feature flag legacy import on
Browse files Browse the repository at this point in the history
  • Loading branch information
Lan2u committed Oct 12, 2024
1 parent c078f8e commit b58c104
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/training-sheets/legacy-training-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,12 @@ export const legacyTrainingImport = async (conf: Config, deps: ImportDeps) => {
if (Math.random() < 0.01) {
deps.logger.info(newEvent);
}
// await deps.commitEvent(
// {
// type: 'LegacyMemberTrainedOnEquipment',
// id: 'LegacyMemberTrainedOnEquipment', // Intentionally fudge the versioning control for this 1-off import.
// },
// 'no-such-resource'
// )(newEvent)();
await deps.commitEvent(
{
type: 'LegacyMemberTrainedOnEquipment',
id: 'LegacyMemberTrainedOnEquipment', // Intentionally fudge the versioning control for this 1-off import.
},
'no-such-resource'
)(newEvent)();
}
};

0 comments on commit b58c104

Please sign in to comment.