@@ -168,12 +168,7 @@ namespace Api.Services
|
||||
await client.DisconnectAsync(true, ct);
|
||||
}
|
||||
|
||||
public Task SendMatchAsync(string? explicitTo, string subject, string body, string? attachmentPath, CancellationToken ct)
|
||||
{
|
||||
return SendMatchInternalAsync(explicitTo, subject, body, attachmentPath, ct);
|
||||
}
|
||||
|
||||
private async Task SendMatchInternalAsync(string? explicitTo, string subject, string body, string? attachmentPath, CancellationToken ct)
|
||||
public async Task SendMatchAsync(string? explicitTo, string subject, string body, string? attachmentPath, CancellationToken ct)
|
||||
{
|
||||
var recipients = new List<string>();
|
||||
if (!string.IsNullOrWhiteSpace(explicitTo))
|
||||
|
||||
@@ -54,7 +54,7 @@ services:
|
||||
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||
volumes:
|
||||
- myai_rag_api_logs:/app/logs
|
||||
- /opt/myai/logs/rag-api:/app/logs
|
||||
networks:
|
||||
- myai-network
|
||||
restart: unless-stopped
|
||||
@@ -116,7 +116,7 @@ services:
|
||||
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||
volumes:
|
||||
- myai_cv_matcher_api_logs:/app/logs
|
||||
- /opt/myai/logs/cv-matcher-api:/app/logs
|
||||
networks:
|
||||
- myai-network
|
||||
restart: unless-stopped
|
||||
@@ -187,7 +187,7 @@ services:
|
||||
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||
volumes:
|
||||
- myai_api_logs:/app/logs
|
||||
- /opt/myai/logs/api:/app/logs
|
||||
- /opt/myai/files:/app/Files
|
||||
networks:
|
||||
- myai-network
|
||||
|
||||
@@ -54,7 +54,7 @@ services:
|
||||
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||
volumes:
|
||||
- myai_rag_api_logs:/app/logs
|
||||
- /opt/myai/logs/rag-api:/app/logs
|
||||
networks:
|
||||
- myai-network
|
||||
restart: unless-stopped
|
||||
@@ -116,7 +116,7 @@ services:
|
||||
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||
volumes:
|
||||
- myai_cv_matcher_api_logs:/app/logs
|
||||
- /opt/myai/logs/cv-matcher-api:/app/logs
|
||||
networks:
|
||||
- myai-network
|
||||
restart: unless-stopped
|
||||
@@ -187,7 +187,7 @@ services:
|
||||
- Serilog__WriteTo__2__Args__port=${Serilog__WriteTo__2__Args__port:-587}
|
||||
- Serilog__WriteTo__2__Args__enableSsl=${Serilog__WriteTo__2__Args__enableSsl:-true}
|
||||
volumes:
|
||||
- myai_api_logs:/app/logs
|
||||
- /opt/myai/logs/api:/app/logs
|
||||
- /opt/myai/files:/app/Files
|
||||
networks:
|
||||
- myai-network
|
||||
|
||||
Reference in New Issue
Block a user