mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-30 18:23:35 +08:00
fix: remove apiversion param from session
This commit is contained in:
@@ -374,7 +374,7 @@ func (st *SScheduledTask) CustomizeDelete(ctx context.Context, userCred mcclient
|
||||
}
|
||||
|
||||
func (st *SScheduledTask) Action(ctx context.Context, userCred mcclient.TokenCredential) SAction {
|
||||
session := auth.GetSession(ctx, userCred, "", "")
|
||||
session := auth.GetSession(ctx, userCred, "")
|
||||
return Action.ResourceOperation(st.ResourceOperation()).Session(session)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user