From 426b258f1286d8dcdec08f594c118fad8c1a6272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Chirico=20Indreb=C3=B8?= Date: Tue, 21 Jan 2025 12:20:12 +0100 Subject: [PATCH] Fix typo for context in robotmodelservice --- backend/api/Services/RobotModelService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/api/Services/RobotModelService.cs b/backend/api/Services/RobotModelService.cs index f66612a2..e5f95272 100644 --- a/backend/api/Services/RobotModelService.cs +++ b/backend/api/Services/RobotModelService.cs @@ -104,7 +104,7 @@ public async Task Update(RobotModel robotModel) public void DetachTracking(FlotillaDbContext context, RobotModel robotModel) { - _context.Entry(robotModel).State = EntityState.Detached; + context.Entry(robotModel).State = EntityState.Detached; } } }