Forgot to store actor in the apex.store
This commit is contained in:
parent
7246b38a3d
commit
a22f8a352b
|
@ -59,7 +59,7 @@ module.exports = {
|
|||
if (actor === null)
|
||||
actor = await apex.createActor(req.body.username, req.body.username, '', null)
|
||||
|
||||
if (actor !== null) {
|
||||
if (actor !== null && await apex.store.saveObject(actor)) {
|
||||
const documen = await db.table.users().insertOne({
|
||||
'username': req.body.username,
|
||||
'email': req.body.email,
|
||||
|
|
Loading…
Reference in New Issue