add fix for group id

This commit is contained in:
harold 2025-03-09 11:33:05 +05:00
parent 7d421c24ab
commit a0c679b03e
2 changed files with 1 additions and 1 deletions

View File

@ -154,6 +154,7 @@ SELECT
w.id,
w.streamer_id,
w.template_id,
w.group_id,
img.id AS image_id,
img.file_name AS image_file_name,
img.file_type AS image_type,

View File

@ -85,7 +85,6 @@ func (widgetService *ServiceWidget) GetWidgetsByStreamer(
for _, widget := range widgets {
widget.AudioLink = widgetService.storage.DownloadLink(widget.AudioFileId)
widget.ImageLink = widgetService.storage.DownloadLink(widget.ImageFileId)
println(widget.AudioLink)
groupedWidgets[widget.GroupID] = append(groupedWidgets[widget.GroupID], widget)
}