Skip to content

Commit 287e7dc

Browse files
committed
clean up
1 parent c05e5b3 commit 287e7dc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pkg/routers/app_routers.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,10 @@ func (r *router) registerAuthRoutes() {
136136
recording.Post("/updateMetadata", r.ctrl.RecordingController.HandleUpdateRecordingMetadata)
137137
recording.Post("/delete", r.ctrl.RecordingController.HandleDeleteRecording)
138138
recording.Post("/getDownloadToken", r.ctrl.RecordingController.HandleGetDownloadToken)
139-
// deprecated: use /info
139+
// TODO: remove deprecated: use /info
140140
recording.Post("/recordingInfo", r.ctrl.RecordingController.HandleRecordingInfo)
141141

142+
// TODO: remove deprecated handler
142143
analytics := auth.Group("/analytics")
143144
analytics.Post("/fetch", r.ctrl.AnalyticsController.HandleFetchAnalytics)
144145
analytics.Post("/delete", r.ctrl.AnalyticsController.HandleDeleteAnalytics)

pkg/services/nats/recorder.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ func (s *NatsService) GetAllActiveRecorders() []*utils.RecorderInfo {
3737
// Group keys by recorderId
3838
recorderKeys := make(map[string]map[string]string)
3939
for key := range keys.Keys() {
40-
// Use the new utils function
4140
recorderId, field, ok := utils.ParseRecorderKey(key)
4241
if !ok {
4342
continue
@@ -94,7 +93,6 @@ func (s *NatsService) GetRecorderInfo(recorderId string) (*utils.RecorderInfo, e
9493
progressField := fmt.Sprintf("%d", plugnmeet.RecorderInfoKeys_RECORDER_INFO_CURRENT_PROGRESS)
9594
lastPingField := fmt.Sprintf("%d", plugnmeet.RecorderInfoKeys_RECORDER_INFO_LAST_PING)
9695

97-
// Use the new utils function
9896
maxLimitKey := utils.FormatRecorderKey(recorderId, maxLimitField)
9997
progressKey := utils.FormatRecorderKey(recorderId, progressField)
10098
pingKey := utils.FormatRecorderKey(recorderId, lastPingField)

0 commit comments

Comments
 (0)