Skip to content

Commit

Permalink
Make token property opt. for View Action payload types
Browse files Browse the repository at this point in the history
  • Loading branch information
srajiang committed Aug 30, 2022
1 parent 949a609 commit e124960
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types/actions/block-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export interface BlockAction<ElementAction extends BasicElementAction = BlockEle
};
};
};
token: string;
token?: string;
response_url: string;
trigger_id?: string;
api_app_id: string;
Expand Down
2 changes: 1 addition & 1 deletion src/types/view/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface ViewSubmitAction extends FunctionContext {
};
view: ViewOutput;
api_app_id: string;
token: string;
token?: string;
trigger_id?: string; // undocumented
// exists for enterprise installs
is_enterprise_install?: boolean;
Expand Down

0 comments on commit e124960

Please sign in to comment.