Skip to content

Commit 65025b0

Browse files
TD-4539 changing the error code
1 parent 24919ea commit 65025b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DigitalLearningSolutions.Web/Controllers/TrackingSystem/Delegates/BulkUploadController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public IActionResult WelcomeEmail()
149149
{
150150
if (!TempData.Any())
151151
{
152-
return RedirectToAction("StatusCode", "LearningSolutions", new { code = 401 });
152+
return RedirectToAction("StatusCode", "LearningSolutions", new { code = 410 });
153153
}
154154
var data = GetBulkUploadData();
155155
var model = new WelcomeEmailViewModel() { Day = data.Day, Month = data.Month, Year = data.Year, DelegatesToRegister = data.ToRegisterActiveCount + data.ToRegisterInactiveCount };
@@ -271,7 +271,7 @@ public IActionResult UploadSummary()
271271
{
272272
if (!TempData.Any())
273273
{
274-
return RedirectToAction("StatusCode", "LearningSolutions", new { code = 401 });
274+
return RedirectToAction("StatusCode", "LearningSolutions", new { code = 410 });
275275
}
276276
var data = GetBulkUploadData();
277277
var centreId = User.GetCentreIdKnownNotNull();
@@ -305,7 +305,7 @@ public IActionResult StartProcessing()
305305
{
306306
if (!TempData.Any())
307307
{
308-
return RedirectToAction("StatusCode", "LearningSolutions", new { code = 401 });
308+
return RedirectToAction("StatusCode", "LearningSolutions", new { code = 410 });
309309
}
310310
var centreId = User.GetCentreIdKnownNotNull();
311311
var data = GetBulkUploadData();

0 commit comments

Comments
 (0)