Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
chore: Update project removal logic to ignore resources JSON (#10446)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoizAdnan authored Jun 25, 2024
1 parent 8c45010 commit 1b3ce90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server-core/src/projects/project/project.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ const removeStaticResourcesFromProject = async (context: HookContext<ProjectServ
})) as any as StaticResourceType[]
staticResourceItems.length &&
staticResourceItems.forEach(async (staticResource) => {
await context.app.service(staticResourcePath).remove(staticResource.id)
await context.app.service(staticResourcePath).remove(staticResource.id, { ignoreResourcesJson: true })
})
}

Expand Down

0 comments on commit 1b3ce90

Please sign in to comment.