upgrade mongodb driver dep

This commit is contained in:
Robin Olsen
2026-03-18 15:20:16 +01:00
parent 720be210c3
commit 2510429a7f
9 changed files with 28 additions and 31 deletions

View File

@@ -4,7 +4,7 @@ import (
"context"
"log/slog"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.mongodb.org/mongo-driver/v2/bson"
)
type App struct {
@@ -59,7 +59,7 @@ type StatsService interface {
Load(ctx context.Context) error
Save(ctx context.Context) error
GetStatistics() (Statistics, error)
GetParticipantID() primitive.ObjectID
GetParticipantID() bson.ObjectID
RecordTaskRun(ctx context.Context, run TaskRunMetrics) error
RecordIntroQuestionnaireAnswers(answers map[string]any) error
}