From a53c62b4f198afd7797ae96cdcef46b770eff258 Mon Sep 17 00:00:00 2001
From: Priyan Sureshbabu <psureshbabu@gitlab.com>
Date: Thu, 27 Feb 2025 09:40:16 +0000
Subject: [PATCH] Edit troubleshooting.md

---
 doc/user/project/troubleshooting.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/user/project/troubleshooting.md b/doc/user/project/troubleshooting.md
index 9fbc302d0505..4825c75e53cd 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:
-- 
GitLab