mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-08 00:43:54 +00:00
fix change api isPublic (#1008)
This commit is contained in:
committed by
GitHub
parent
345ea6722e
commit
9d04954d87
@@ -47,8 +47,8 @@ const actionHandlers: Record<string, ActionHandler> = {
|
||||
if (typeof property !== 'string' || value === undefined) {
|
||||
throw new Error('Invalid property or value');
|
||||
}
|
||||
// all custom fields keys are lowercase
|
||||
const newObjectProperty = parseProperty(property.toLowerCase(), value);
|
||||
|
||||
const newObjectProperty = parseProperty(property, value);
|
||||
|
||||
if (patchEvent.custom && newObjectProperty.custom) {
|
||||
Object.assign(patchEvent.custom, newObjectProperty.custom);
|
||||
|
||||
Reference in New Issue
Block a user