Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xsalonx committed Apr 30, 2024
1 parent d17d799 commit 020bcb0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const { timestampToMysql } = require('../../server/utilities/timestampToMysql');
* only effective periods of QC flags created before this timestamp will be updated
* @return {Promise<void>} promise
*/
const _reconsturctEffectivePeriodForScopeAndPeriod = async (
const _reconstructEffectivePeriodForScopeAndPeriod = async (
queryInterface,
{ from: intersecingPeriodFrom, to: intersectingPeriodTo },
{ runNumber, dplDetectorId, dataPassId, simulationPassId, createdAt },
Expand Down Expand Up @@ -127,7 +127,7 @@ const _reconstructQcFlagsEffectivePeriods = async (queryInterface, { transaction
dpl_detector_id: dplDetectorId,
data_pass_id: dataPassId,
} = flag;
await _reconsturctEffectivePeriodForScopeAndPeriod(
await _reconstructEffectivePeriodForScopeAndPeriod(
queryInterface,
{ from: from.getTime(), to: to.getTime() },
{ runNumber, dplDetectorId, dataPassId, createdAt: createdAt.getTime() },
Expand Down Expand Up @@ -161,7 +161,7 @@ const _reconstructQcFlagsEffectivePeriods = async (queryInterface, { transaction
dpl_detector_id: dplDetectorId,
simulation_pass_id: simulationPassId,
} = flag;
await _reconsturctEffectivePeriodForScopeAndPeriod(
await _reconstructEffectivePeriodForScopeAndPeriod(
queryInterface,
{ from: from.getTime(), to: to.getTime() },
{ runNumber, dplDetectorId, simulationPassId, createdAt: createdAt.getTime() },
Expand Down

0 comments on commit 020bcb0

Please sign in to comment.