diff --git a/webapi/src/main/scala/org/knora/webapi/slice/admin/api/ProjectsEndpointsHandler.scala b/webapi/src/main/scala/org/knora/webapi/slice/admin/api/ProjectsEndpointsHandler.scala index 8352d1d539..e65079bb9b 100644 --- a/webapi/src/main/scala/org/knora/webapi/slice/admin/api/ProjectsEndpointsHandler.scala +++ b/webapi/src/main/scala/org/knora/webapi/slice/admin/api/ProjectsEndpointsHandler.scala @@ -139,7 +139,7 @@ final case class ProjectsEndpointsHandler( val deleteAdminProjectsByProjectShortcodeEraseHandler = SecuredEndpointHandler( projectsEndpoints.Secured.deleteAdminProjectsByProjectShortcodeErase, - user => (id: Shortcode) => restService.eraseProject(id, user), + user => (id: Shortcode, keepAssets: Boolean) => restService.eraseProject(id, user, keepAssets), ) val getAdminProjectsExportsHandler =