Skip to content

Commit ef768ed

Browse files
committed
refactor:uncommented slice for test content type in wordpress
1 parent 6caf0cf commit ef768ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/utils/test-folder-creator.utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export const testFolderCreator = async ({ destinationStackId }: any) => {
271271
}
272272
}
273273
}
274-
const sortData = allData.sort((a, b) => b?.count - a?.count)//.slice?.(1, 4);
274+
const sortData = allData.sort((a, b) => b?.count - a?.count).slice?.(1, 4);
275275
const finalData: any = [];
276276
sortData.forEach((et: any) => {
277277
const entryObj: any = {};

0 commit comments

Comments
 (0)