fix aganda subscription
This commit is contained in:
parent
0e42bd7f79
commit
5a67e2c377
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue