From da3ce351e5b7256e3d2745d8f11067d738145182 Mon Sep 17 00:00:00 2001 From: chenhg5 Date: Thu, 25 Apr 2024 09:00:39 +0800 Subject: [PATCH] update version --- adapter/adapter.go | 2 +- modules/system/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adapter/adapter.go b/adapter/adapter.go index ad1f79860..b69fcbc2e 100644 --- a/adapter/adapter.go +++ b/adapter/adapter.go @@ -160,7 +160,7 @@ func (base *BaseAdapter) GetContent(ctx interface{}, getPanelFn types.GetPanelFn err error ) - gctx := context.NewContext(wf.Request()) + gctx := context.NewContext(newBase.Request()) if !auth.CheckPermissions(user, newBase.Path(), newBase.Method(), newBase.FormParam()) { panel = template.WarningPanel(gctx, errors.NoPermission, template.NoPermission403Page) diff --git a/modules/system/version.go b/modules/system/version.go index f966cbe7b..2aa4c7315 100644 --- a/modules/system/version.go +++ b/modules/system/version.go @@ -1,6 +1,6 @@ package system -const version = "v1.2.25" +const version = "v1.2.26" var requireThemeVersion = map[string][]string{ "adminlte": {">=v0.0.41"},