diff --git a/Apis/api/Controllers/CvMatcherController.cs b/Apis/api/Controllers/CvMatcherController.cs index 57aaeef..980aad4 100644 --- a/Apis/api/Controllers/CvMatcherController.cs +++ b/Apis/api/Controllers/CvMatcherController.cs @@ -170,12 +170,11 @@ public sealed class CvMatcherController : ControllerBase !string.IsNullOrWhiteSpace(request.JobDescription)); var res = await _cvApi.MatchJob(request, ct); var attachmentPath = TryGetCachedCvPath(request.CvDocumentId); + var language = NormalizeLanguage(request.Language); var jobLabel = !string.IsNullOrWhiteSpace(request.JobUrl) ? request.JobUrl : _emailSender.GetManualJobLabel(language); - var language = NormalizeLanguage(request.Language); - string? jobSearchLink = null; if (!string.IsNullOrWhiteSpace(request.Email) && !string.IsNullOrWhiteSpace(request.CvDocumentId)) {