mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-25 14:51:31 -07:00
Better variable name
This commit is contained in:
parent
0aee0bde27
commit
4841bc4642
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