Skip to content

Commit c13d728

Browse files
nunomaduroHaroenv
andcommitted
fix(account-client-copy): do not wrap promise on undefined
Co-Authored-By: Haroen Viaene <[email protected]>
1 parent 5c50673 commit c13d728

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/client-account/src/methods/accountCopyIndex.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ export const accountCopyIndex = (
5555
// eslint-disable-next-line functional/immutable-data
5656
batch: objects => responses.push(saveObjects(destination)(objects, requestOptions)),
5757
})
58-
)
59-
.then(() => Promise.resolve());
58+
);
6059

6160
return createWaitablePromise(
6261
/**

0 commit comments

Comments
 (0)