Skip to content

Commit

Permalink
Temporary fix to not break updateCoursesAndTeacherFeedbackTargets
Browse files Browse the repository at this point in the history
  • Loading branch information
Keskimaki committed Dec 21, 2023
1 parent d0f5a0c commit 73ebb9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/updater/mangleData.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ const mangleData = async (url, limit, handler, since = null) => {
let requestStart = null
let loopStart = Date.now()

let offset = Number(await redis.get(offsetKey))
// TODO: remove this once updateCoursesAndTeacherFeedbackTargets is fixed
let offset = url === 'course_unit_realisations_with_course_units' ? 0 : Number(await redis.get(offsetKey))
let count = 0
let currentData = null
let nextData = null
Expand Down

0 comments on commit 73ebb9a

Please sign in to comment.