mirror of
https://github.com/larksuite/cli.git
synced 2026-07-03 14:02:43 +08:00
refactor: remove deprecated HasFormat field from minutes apply-permission
HasFormat is deprecated and has no effect — the framework injects --format unconditionally for all shortcuts. Change-Id: Idc929c1408ad381be3c2d518a44bc651e6e57c0e
This commit is contained in:
@@ -22,7 +22,6 @@ var MinutesApplyPermission = common.Shortcut{
|
||||
Risk: "write",
|
||||
Scopes: []string{"minutes:permission:apply"},
|
||||
AuthTypes: []string{"user"},
|
||||
HasFormat: true,
|
||||
Flags: []common.Flag{
|
||||
{Name: "minute-token", Desc: "minute token", Required: true},
|
||||
{Name: "perm", Desc: "permission to apply for", Required: true, Enum: []string{"view", "edit"}},
|
||||
|
||||
Reference in New Issue
Block a user