Skip to content

Commit

Permalink
fix: removed starting SRs from seeding
Browse files Browse the repository at this point in the history
  • Loading branch information
Zheng-Zhi-Qiang committed May 22, 2024
1 parent dde4549 commit 1ea47e6
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions backend/database/mongo_seed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ import (
"os"
"time"

"github.com/gookit/event"
"github.com/joshtyf/flowforge/src/database"
"github.com/joshtyf/flowforge/src/database/client"
"github.com/joshtyf/flowforge/src/database/models"
"github.com/joshtyf/flowforge/src/events"
"github.com/joshtyf/flowforge/src/logger"
"go.mongodb.org/mongo-driver/bson/primitive"
)
Expand Down Expand Up @@ -599,13 +597,4 @@ func main() {
panic("Inserted ID is not an ObjectID")
}
}

// start SRs
event.FireAsync(events.NewNewServiceRequestEvent(&serviceRequest1))
event.FireAsync(events.NewNewServiceRequestEvent(&serviceRequest7))
event.FireAsync(events.NewNewServiceRequestEvent(&serviceRequest3))
event.FireAsync(events.NewNewServiceRequestEvent(&serviceRequest6))
event.FireAsync(events.NewNewServiceRequestEvent(&serviceRequest9))
event.FireAsync(events.NewNewServiceRequestEvent(&serviceRequest12))

}

0 comments on commit 1ea47e6

Please sign in to comment.