Skip to content

Commit cf3c17e

Browse files
committed
fix: Make the options argument optional #336
1 parent b0af54b commit cf3c17e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/Pipelines.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Pipelines extends BaseService {
3131
return RequestHelper.post(this, `projects/${pId}/pipelines/${pipelineId}/cancel`, options);
3232
}
3333

34-
showJobs(projectId: ProjectId, pipelineId: PipelineId, options: { scope: JobScope } & Sudo) {
34+
showJobs(projectId: ProjectId, pipelineId: PipelineId, options?: { scope: JobScope } & Sudo) {
3535
const pId = encodeURIComponent(projectId);
3636

3737
return RequestHelper.get(this, `projects/${pId}/pipelines/${pipelineId}/jobs`, options);

0 commit comments

Comments
 (0)