@@ -61,7 +61,7 @@ func (s *Store) SessionList(ctx context.Context, paginator query.Paginator) ([]m
6161 },
6262 {
6363 "$addFields" : bson.M {
64- "active" : bson.M {"$anyElementTrue" : []interface {} {"$active" }},
64+ "active" : bson.M {"$anyElementTrue" : []any {"$active" }},
6565 },
6666 },
6767 }... )
@@ -107,7 +107,7 @@ func (s *Store) SessionGet(ctx context.Context, uid models.UID) (*models.Session
107107 },
108108 {
109109 "$addFields" : bson.M {
110- "active" : bson.M {"$anyElementTrue" : []interface {} {"$active" }},
110+ "active" : bson.M {"$anyElementTrue" : []any {"$active" }},
111111 },
112112 },
113113 }
@@ -265,7 +265,7 @@ func (s *Store) SessionDeleteActives(ctx context.Context, uid models.UID) error
265265 }
266266 defer mongoSession .EndSession (ctx )
267267
268- _ , err = mongoSession .WithTransaction (ctx , func (_ mongo.SessionContext ) (interface {} , error ) {
268+ _ , err = mongoSession .WithTransaction (ctx , func (_ mongo.SessionContext ) (any , error ) {
269269 session := new (models.Session )
270270
271271 query := bson.M {"uid" : uid }
@@ -325,7 +325,7 @@ func (s *Store) SessionEvent(ctx context.Context, uid models.UID, event *models.
325325 SetReadConcern (readconcern .Snapshot ()).
326326 SetWriteConcern (writeconcern .Majority ())
327327
328- if _ , err := session .WithTransaction (ctx , func (ctx mongo.SessionContext ) (interface {} , error ) {
328+ if _ , err := session .WithTransaction (ctx , func (ctx mongo.SessionContext ) (any , error ) {
329329 if _ , err := s .db .Collection ("sessions" ).UpdateOne (ctx ,
330330 bson.M {"uid" : uid },
331331 bson.M {
0 commit comments