Skip to content

Commit

Permalink
fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
maximtop committed Apr 22, 2024
1 parent 1a383d5 commit 8a751ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/github/GithubApiClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class GithubApiClient {
* @returns A promise that resolves to the dispatch event creation response.
*/
async createDispatchEvent(workflow: string, branch: string, workflowRunCustomId: string):
Promise<RestEndpointMethodTypes['actions']['createWorkflowDispatch']['response']> {
Promise<RestEndpointMethodTypes['actions']['createWorkflowDispatch']> {
return this.octokit.request('POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches', {

Check failure on line 99 in src/lib/github/GithubApiClient.ts

View workflow job for this annotation

GitHub Actions / test

Type 'OctokitResponse<never, 204>' is missing the following properties from type '{ parameters: RequestParameters & { owner: string; repo: string; workflow_id: string | number; ref: string; inputs?: { [key: string]: unknown; } | undefined; }; response: OctokitResponse<never, 204>; }': parameters, response
owner: this.owner,
repo: this.repo,
Expand Down

0 comments on commit 8a751ea

Please sign in to comment.