mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
🚑️ Critical overwrite of secrets due to type change
This commit is contained in:
@@ -44,7 +44,10 @@ function Put(req: NextApiRequest, res: NextApiResponse) {
|
||||
return {
|
||||
field: property.field,
|
||||
type: property.type,
|
||||
value: property.value !== undefined ? property.value : previousProperty?.value,
|
||||
value:
|
||||
property.value !== undefined || property.value === null
|
||||
? property.value
|
||||
: previousProperty?.value,
|
||||
};
|
||||
}),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user