对接
This commit is contained in:
@@ -83,7 +83,7 @@ func (h *Live) Like(c *gin.Context) {
|
||||
// Do not create runtime stream state for arbitrary room IDs. The stream
|
||||
// repository is process-local, so validating the catalog first also keeps
|
||||
// bogus likes from accumulating forever.
|
||||
room, err := h.catalog.GetRoom(c.Request.Context(), id)
|
||||
room, err := h.catalog.GetPublicRoom(c.Request.Context(), id)
|
||||
if err != nil {
|
||||
businessFail(c, err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user