aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/server/plugin.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/server/plugin.ts b/server/models/server/plugin.ts
index ba43713f6..50963ba57 100644
--- a/server/models/server/plugin.ts
+++ b/server/models/server/plugin.ts
@@ -154,7 +154,7 @@ export class PluginModel extends Model<PluginModel> {
154 } 154 }
155 155
156 return PluginModel.findOne(query) 156 return PluginModel.findOne(query)
157 .then((c: any) => { 157 .then((c: any) => {
158 if (!c) return undefined 158 if (!c) return undefined
159 159
160 return c.value 160 return c.value