changes to conference alias map handling to account for community ID

This commit is contained in:
2026-04-19 09:01:59 -05:00
parent 1348d0225f
commit 3deb11e0a5
2 changed files with 23 additions and 25 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ func ValidateConference(next echo.HandlerFunc) echo.HandlerFunc {
func SetConference(next echo.HandlerFunc) echo.HandlerFunc {
return func(c echo.Context) error {
ctxt := AmContextFromEchoContext(c)
conf, err := database.AmGetConferenceByAliasInCommunity(ctxt.Ctx(), ctxt.CurrentCommunity().Id, ctxt.URLParam("confid"))
conf, err := database.AmGetConferenceByAlias(ctxt.Ctx(), ctxt.CurrentCommunity().Id, ctxt.URLParam("confid"))
if err != nil {
return AmSendPageData(c, ctxt, "error", err)
}