aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-16 17:38:20 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commit109d893ff5353c3061af3062cf9443bcba39aafc (patch)
tree7f9e24eefd0893cab3b1977dc625e966c434725b /server/models
parentf0c5e8b65792e9f991bf006a3e1d03cfd2c80c24 (diff)
downloadPeerTube-109d893ff5353c3061af3062cf9443bcba39aafc.tar.gz
PeerTube-109d893ff5353c3061af3062cf9443bcba39aafc.tar.zst
PeerTube-109d893ff5353c3061af3062cf9443bcba39aafc.zip
Fix lint
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