need upd common!!!
This commit is contained in:
parent
770a5b7ac2
commit
c5153ab5b6
@ -205,7 +205,7 @@ func (w *SendToClient) processAnswerWithPrivileges(ctx context.Context, quizName
|
||||
return true, nil
|
||||
} else {
|
||||
w.checkAndSendTaskReminders(ctx, sendTaskRemindersDeps{
|
||||
//email: account.Email,
|
||||
email: account.Email,
|
||||
theme: quizName,
|
||||
config: model.QuizConfig{
|
||||
Mailing: model.ResultInfo{
|
||||
@ -333,9 +333,9 @@ func (w *SendToClient) ProcessMessageToClient(quizConfig model.QuizConfig, quest
|
||||
|
||||
data.AnswerTime = formattedTime
|
||||
|
||||
//fmt.Println("SUBJECT", theme, account.Email)
|
||||
fmt.Println("SUBJECT", theme, account.Email)
|
||||
|
||||
err := w.deps.MailClient.SendMailWithAttachment("account.Email", theme, toClientTemplate, data, nil)
|
||||
err := w.deps.MailClient.SendMailWithAttachment(account.Email, theme, toClientTemplate, data, nil)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
@ -1,16 +1,12 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:latest
|
||||
ports:
|
||||
- "6379:6379"
|
||||
postgres:
|
||||
image: postgres
|
||||
restart: always
|
||||
environment:
|
||||
- REDIS_PASSWORD=admin
|
||||
- REDIS_DB=2
|
||||
command: [ "redis-server", "--requirepass", "admin", "--databases", "16", "--maxmemory", "2gb", "--maxmemory-policy", "allkeys-lru" ]
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
|
||||
volumes:
|
||||
redis_data:
|
||||
POSTGRES_PASSWORD: Redalert2
|
||||
POSTGRES_USER: squiz
|
||||
POSTGRES_DB: squiz
|
||||
app:
|
||||
image: penahub.gitlab.yandexcloud.net:5050/backend/squiz:latest
|
||||
ports:
|
||||
- 1488:1488
|
||||
|
Loading…
Reference in New Issue
Block a user