diff --git a/doc/user/project/troubleshooting.md b/doc/user/project/troubleshooting.md
index 9fbc302d050521a8efea0f0f204435c0dc8750b9..4825c75e53cd9a4ca8c08ef942752a98a4896173 100644
--- a/doc/user/project/troubleshooting.md
+++ b/doc/user/project/troubleshooting.md
@@ -69,7 +69,7 @@ Commands that change data can cause damage if not run correctly or under the rig
 ```ruby
 project = Project.find_by_full_path('<project_path>')
 user = User.find_by_username('<username>')
-ProjectDestroyWorker.new.perform(project.id, user.id, {})
+Projects::DestroyService.new(project, user, {}).execute
 ```
 
 If this fails, display why it doesn't work with: