add fix for group id
This commit is contained in:
parent
7d421c24ab
commit
a0c679b03e
@ -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,
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user