Skip to content

Commit

Permalink
Also get new autotag with settings
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-bstein committed Sep 13, 2024
1 parent 15f9122 commit a35f2a1
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ await _validatorService
.SingleOrDefaultAsync(cancellationToken);

if (existingSettings is null)
return new SupportSettingsViewModel { SupportPageGreeting = null };
return new SupportSettingsViewModel
{
AutoTagPracticeTicketsWith = "practice-challenge",
SupportPageGreeting = null
};

return new SupportSettingsViewModel
{
AutoTagPracticeTicketsWith = existingSettings.AutoTagPracticeTicketsWith,
SupportPageGreeting = existingSettings.SupportPageGreeting
};
}
Expand Down

0 comments on commit a35f2a1

Please sign in to comment.