Skip to content

Commit

Permalink
Rm
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-weber committed Nov 6, 2024
1 parent 345f870 commit 94eac34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const markCollectionsAsDeleted = async (
) => {
const collectionIds: string[] = [];

collectionsMap.forEach(async (parentIds, collectionInstance) => {
collectionsMap.forEach((parentIds, collectionInstance) => {
collectionIds.push(collectionInstance.model.collectionId);
});

Expand All @@ -33,7 +33,7 @@ export const markCollectionsAsDeleted = async (

const deletePermissionsPromises: Promise<void>[] = [];

collectionsMap.forEach(async (parentIds, collectionInstance) => {
collectionsMap.forEach((parentIds, collectionInstance) => {
deletePermissionsPromises.push(
collectionInstance.deletePermissions({
parentIds,
Expand Down
4 changes: 2 additions & 2 deletions src/services/new/workbook/utils/mark-workbooks-as-deleted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const markWorkbooksAsDeleted = async (
) => {
const workbookIds: string[] = [];

workbooksMap.forEach(async (parentIds, workbookInstance) => {
workbooksMap.forEach((parentIds, workbookInstance) => {
workbookIds.push(workbookInstance.model.workbookId);
});

Expand All @@ -30,7 +30,7 @@ export const markWorkbooksAsDeleted = async (

const deletePermissionsPromises: Promise<void>[] = [];

workbooksMap.forEach(async (parentIds, workbookInstance) => {
workbooksMap.forEach((parentIds, workbookInstance) => {
deletePermissionsPromises.push(
workbookInstance.deletePermissions({
parentIds,
Expand Down

0 comments on commit 94eac34

Please sign in to comment.