From dc6ba5a8ce9cc850ab91c0c649f8f6bb925a7f28 Mon Sep 17 00:00:00 2001 From: dtookey Date: Wed, 4 May 2022 12:01:11 -0400 Subject: [PATCH] debugging finished. we are back to pre-refactor parity --- build.sh => run.sh | 0 src/mercury/Interconnect.go | 2 +- src/projectInsight/insight-database.go | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename build.sh => run.sh (100%) diff --git a/build.sh b/run.sh similarity index 100% rename from build.sh rename to run.sh diff --git a/src/mercury/Interconnect.go b/src/mercury/Interconnect.go index 69dbbd1..6ab9176 100644 --- a/src/mercury/Interconnect.go +++ b/src/mercury/Interconnect.go @@ -19,7 +19,7 @@ type Interconnect struct { func NewInterconnect() *Interconnect { connect := Interconnect{} connect.Client = projectInsight.NewIClient() - connect.InsightDBConnector = &projectInsight.InsightDBConnector{} + connect.InsightDBConnector = projectInsight.NewDBConnection() return &connect } diff --git a/src/projectInsight/insight-database.go b/src/projectInsight/insight-database.go index d79d844..f91d625 100644 --- a/src/projectInsight/insight-database.go +++ b/src/projectInsight/insight-database.go @@ -80,7 +80,7 @@ func (c *InsightDBConnector) UpdateUsers(users *[]*InsightUser) { util.BulkUpdate[InsightUser]( c.DBConnectorGeneric, InsightDatabaseName, - "update-insight-timeEntry.sql", + "update-insight-users.sql", users, insightUserUpdateFunction, )