feat: implement core backend architecture and project management services for the History API
Build and Release / release (push) Successful in 1m33s

This commit is contained in:
2026-06-05 14:18:55 +07:00
parent 420a9ad43a
commit fdcd44cc00
70 changed files with 944 additions and 734 deletions
+2 -2
View File
@@ -2,7 +2,6 @@ package main
import (
"context"
"encoding/json"
"strconv"
"sync"
"time"
@@ -12,6 +11,7 @@ import (
"history-api/pkg/config"
"history-api/pkg/constants"
"history-api/pkg/email"
json "history-api/pkg/jsonx"
_ "history-api/pkg/log"
"github.com/redis/go-redis/v9"
@@ -87,7 +87,7 @@ func runSingleWorker(ctx context.Context, rdb *redis.Client, consumerID int) {
continue
}
}
if taskType == constants.TaskTypeAdminUserAction.String() {
var data models.AdminUserActionPayload
if err := json.Unmarshal([]byte(payloadStr), &data); err != nil {