mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2025-01-19 03:52:52 +09:00
Remove unnecessary brackets
This commit is contained in:
parent
4ebb22f37d
commit
823438f05b
@ -3,7 +3,7 @@ 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 => {
|
||||
return new Resolver().resolve(value).then(resolved => Promise.all(resolved.map(async asyncResult => {
|
||||
const { resolver, object } = await asyncResult;
|
||||
const created = await (await createObject(resolver, actor, [object]))[0];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user