From 5a67e2c3773fb3b27164699e6533a3579bfa8059 Mon Sep 17 00:00:00 2001 From: soukainna Date: Wed, 30 Oct 2024 09:16:16 +0100 Subject: [PATCH] fix aganda subscription --- storage/mongodb.go | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/storage/mongodb.go b/storage/mongodb.go index 3205622..db13f2f 100644 --- a/storage/mongodb.go +++ b/storage/mongodb.go @@ -98,8 +98,6 @@ func (s MongoDBStorage) GetEvents(namespaces []string) (events []Event, err erro return events, err } - // fmt.Println(elem) - // bsonBytes, _ := bson.Marshal(elem) // fmt.Println(string(bsonBytes)) // bson.Unmarshal(bsonBytes, &event) @@ -216,19 +214,3 @@ func (s MongoDBStorage) GetSubscriptionByUser(subscriber string) ([]Subscription return events, nil //return nil, nil } - -// [{32b91cca-da17-41ce-83fa-515a17a90fcf subscription id dans event - -// ca7f0a47-59d3-4bb8-ab12-756017d5ec9b id benef - -// [] 2024-07-23 12:53:45.409 +0000 UTC - -// map[subscribed_by:map[group:map[id:483280d0-db2d-4f06-b361-02e4be5012d2 name:COOPGO] - -// user:map[display_name:Soukaina lafdili - -// email:soukaina.lafdili@coopgo.fr - -// id:979888c6-656f-4af7-b7a4-97a02a3cc13d]]]}] - -// mongo: no documents in result