Wire in agent to the reporter texting system
Also rework the so the platform absorbs all the business logic that was going in the wrong place.
This commit is contained in:
parent
a68b8781e7
commit
9914274d42
14 changed files with 86 additions and 76 deletions
4
main.go
4
main.go
|
|
@ -16,7 +16,7 @@ import (
|
|||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/llm"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/platform/text"
|
||||
"github.com/Gleipnir-Technology/nidus-sync/public-report"
|
||||
nidussync "github.com/Gleipnir-Technology/nidus-sync/sync"
|
||||
"github.com/go-chi/chi/v5"
|
||||
|
|
@ -48,7 +48,7 @@ func main() {
|
|||
os.Exit(3)
|
||||
}
|
||||
|
||||
err = platform.TextStoreSources()
|
||||
err = text.StoreSources()
|
||||
if err != nil {
|
||||
log.Error().Err(err).Msg("Failed to store text source phone numbers")
|
||||
os.Exit(4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue