Skip to content

Commit

Permalink
fix: add ueId when retrieve chargingData
Browse files Browse the repository at this point in the history
  • Loading branch information
andy89923 committed May 14, 2024
1 parent ca20ebb commit 77502bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/WebUI/api_charging.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,10 @@ func GetChargingRecord(c *gin.Context) {
}

for rg, du := range ratingGroupDataUsages {
filter := bson.M{"ratingGroup": rg}
filter := bson.M{
"ueId": supi,
"ratingGroup": rg,
}
chargingDataInterface, err := mongoapi.RestfulAPIGetOne(chargingDataColl, filter)
if err != nil {
logger.ProcLog.Errorf("PostSubscriberByID err: %+v", err)
Expand Down

0 comments on commit 77502bf

Please sign in to comment.