Code readability

This commit is contained in:
Bryan Ashby 2018-01-20 19:30:21 -07:00
parent bc55317a4b
commit c1f971d2d9
1 changed files with 4 additions and 1 deletions

View File

@ -150,7 +150,10 @@ exports.getModule = class BBSListModule extends MenuModule {
self.database.run( self.database.run(
`INSERT INTO bbs_list (bbs_name, sysop, telnet, www, location, software, submitter_user_id, notes) `INSERT INTO bbs_list (bbs_name, sysop, telnet, www, location, software, submitter_user_id, notes)
VALUES(?, ?, ?, ?, ?, ?, ?, ?);`, VALUES(?, ?, ?, ?, ?, ?, ?, ?);`,
[ formData.value.name, formData.value.sysop, formData.value.telnet, formData.value.www, formData.value.location, formData.value.software, self.client.user.userId, formData.value.notes ], [
formData.value.name, formData.value.sysop, formData.value.telnet, formData.value.www,
formData.value.location, formData.value.software, self.client.user.userId, formData.value.notes
],
err => { err => {
if(err) { if(err) {
self.client.log.error( { err : err }, 'Error adding to BBS list'); self.client.log.error( { err : err }, 'Error adding to BBS list');