Skip to content

Commit 7714d43

Browse files
author
Aranyajit
committed
fix typo resulting in bug
1 parent d411e3f commit 7714d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/process-remaining-ubahn-uuids.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const processRemainingUUIDs = async (tableName, columnNames) => {
4040

4141
let sql = ''
4242
for (const [key, value] of Object.entries(uuidToHandleMap)) {
43-
if (!_.isUndefined(handleToIDMap(value.toLowerCase()))) {
43+
if (!_.isUndefined(handleToIDMap[value.toLowerCase()])) {
4444
sql += `UPDATE bookings.${tableName} SET ${columnName} = ${handleToIDMap(value)} WHERE ${columnName} = ${key};`
4545
}
4646
}

0 commit comments

Comments
 (0)