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, )