Skip to content

Commit

Permalink
fix: broken sub wiz (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybeeelsdon authored May 30, 2024
1 parent 2ae8840 commit 69f3946
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/BL/Models/Tes/TesTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public override int GetHashCode()
public static bool operator ==(TesTask left, TesTask right)
=> Equals(left, right);

public static bool operator !=(TesTask left, TesTask right)
public static bool operator !=(TesTask left, TesTask? right)
=> !Equals(left, right);

#pragma warning restore 1591
Expand Down
5 changes: 3 additions & 2 deletions src/DARE-FrontEnd/Controllers/SubmissionController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ public async Task<IActionResult> SubmissionWizard(SubmissionWizard model)


var result = await _clientHelper.CallAPI<TesTask, TesTask?>("/v1/tasks", TesTask);

return Ok();

return RedirectToAction("GetASubmission", new { id = result.Id });
//return Ok();
}
catch (Exception ex)
{
Expand Down

0 comments on commit 69f3946

Please sign in to comment.