Skip to content

Commit 7ba16d1

Browse files
committed
fix: recently broke counting service sql
1 parent f108795 commit 7ba16d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/src/services/ConfigurableCountingService.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class ConfigurableCountingService extends BaseService {
156156
Object.keys(required_data).map(() => '?').join(', ')
157157
}, 1, ${custom_col_values.map(() => '?').join(', ')}) ` +
158158
this.db.case({
159-
mysql: 'ON DUIPLICATE KEY UPDATE ' + duplicate_update_part,
159+
mysql: 'ON DUPLICATE KEY UPDATE ' + duplicate_update_part,
160160
sqlite: `ON CONFLICT(${
161161
identifying_keys.map(v => `\`${v}\``).join(', ')
162162
}) DO UPDATE SET ${duplicate_update_part}`,

0 commit comments

Comments
 (0)