Make it compile at least

This commit is contained in:
Chocobozzz 2017-11-10 17:27:49 +01:00
parent 38fa206583
commit 571389d43b
No known key found for this signature in database
GPG key ID: 583A612D890159BE
53 changed files with 342 additions and 1256 deletions

View file

@ -1,11 +1,11 @@
import * as Promise from 'bluebird'
import { database as db } from '../server/initializers/database'
import { hasFriends } from '../server/lib/friends'
// import { hasFriends } from '../server/lib/friends'
db.init(true)
.then(() => {
return hasFriends()
// FIXME: check if has followers
// return hasFriends()
return true
})
.then(itHasFriends => {
if (itHasFriends === true) {