mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
linting
This commit is contained in:
parent
3f02ade329
commit
75485fe237
@ -12,9 +12,7 @@ const defaultAdmin = {
|
||||
|
||||
const createDefaultAdminUser = async (session) => {
|
||||
const readTxResultPromise = session.readTransaction(async (txc) => {
|
||||
const result = await txc.run(
|
||||
'MATCH (user:User) RETURN count(user) AS userCount',
|
||||
)
|
||||
const result = await txc.run('MATCH (user:User) RETURN count(user) AS userCount')
|
||||
return result.records.map((r) => r.get('userCount'))
|
||||
})
|
||||
let createAdmin = false
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user