aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/initializers/database.js2
-rw-r--r--server/models/video-abuse.js3
2 files changed, 3 insertions, 2 deletions
diff --git a/server/initializers/database.js b/server/initializers/database.js
index f8f68adeb..043152a0e 100644
--- a/server/initializers/database.js
+++ b/server/initializers/database.js
@@ -70,7 +70,7 @@ function init (silent, callback) {
70 } 70 }
71 }) 71 })
72 72
73 if (!silent) logger.info('Database is ready.') 73 if (!silent) logger.info('Database %s is ready.', dbname)
74 74
75 return callback(null) 75 return callback(null)
76 }) 76 })
diff --git a/server/models/video-abuse.js b/server/models/video-abuse.js
index 766a7568d..67cead3af 100644
--- a/server/models/video-abuse.js
+++ b/server/models/video-abuse.js
@@ -106,7 +106,8 @@ function toFormatedJSON () {
106 reporterPodHost, 106 reporterPodHost,
107 reason: this.reason, 107 reason: this.reason,
108 reporterUsername: this.reporterUsername, 108 reporterUsername: this.reporterUsername,
109 videoId: this.videoId 109 videoId: this.videoId,
110 createdAt: this.createdAt
110 } 111 }
111 112
112 return json 113 return json