Skip to content

Commit d16eabb

Browse files
author
Artem
committed
remove redundant reverse
1 parent ffc10d1 commit d16eabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/api/src/modules/workbench/providers/command-execution.provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class CommandExecutionProvider {
4747
return this.encryptEntity(entity);
4848
}));
4949

50-
entities = (await this.commandExecutionRepository.save(entities.reverse())).reverse();
50+
entities = await this.commandExecutionRepository.save(entities);
5151

5252
const response = await Promise.all(
5353
entities.map((entity, idx) => classToClass(

0 commit comments

Comments
 (0)