diff options
-rw-r--r-- | server/models/server/plugin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/server/plugin.ts b/server/models/server/plugin.ts index 8bb9649da..a8de64dd4 100644 --- a/server/models/server/plugin.ts +++ b/server/models/server/plugin.ts | |||
@@ -283,7 +283,7 @@ export class PluginModel extends Model<Partial<AttributesOnly<PluginModel>>> { | |||
283 | for (const r of registeredSettings) { | 283 | for (const r of registeredSettings) { |
284 | if (r.private !== false) continue | 284 | if (r.private !== false) continue |
285 | 285 | ||
286 | result[r.name] = settings[r.name] || r.default || null | 286 | result[r.name] = settings[r.name] ?? r.default ?? null |
287 | } | 287 | } |
288 | 288 | ||
289 | return result | 289 | return result |