mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 14:03:08 +02:00
Better variable name
This commit is contained in:
parent
e285f6feda
commit
623f5b0072
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ import createObject from '../create';
|
|||
import Resolver from '../resolver';
|
||||
|
||||
export default (actor, value) => {
|
||||
return new Resolver().resolve(value).then(resolved => Promise.all(resolved.map(async asyncResult => {
|
||||
const { resolver, object } = await asyncResult;
|
||||
return new Resolver().resolve(value).then(resolved => Promise.all(resolved.map(async promisedResult => {
|
||||
const { resolver, object } = await promisedResult;
|
||||
const created = await (await createObject(resolver, actor, [object]))[0];
|
||||
|
||||
if (created !== null) {
|
||||
|
|
Loading…
Reference in a new issue