Make it compile at least
This commit is contained in:
parent
38fa206583
commit
571389d43b
53 changed files with 342 additions and 1256 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue