Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fchorney committed Aug 3, 2021
1 parent 5842e68 commit 7e34214
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -264,4 +264,4 @@ Delete a given pull request comment.
List all existing pipeline schedules for a project.
"""
@endpoint list_pipeline_schedules(project::Integer)
@endpoint list_pipeline_schedules(ownert::AStr, repo::AStr)
@endpoint list_pipeline_schedules(owner::AStr, repo::AStr)
4 changes: 2 additions & 2 deletions src/forges/GitLab/pipeline_schedules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function endpoint(
::typeof(list_pipeline_schedules),
project::Integer,
)
return EndPoint(:GET, "/projects/$project/pipeline_schedules")
return Endpoint(:GET, "/projects/$project/pipeline_schedules")
end

function endpoint(
Expand All @@ -29,7 +29,7 @@ function endpoint(
owner::AStr,
repo::AStr,
)
return EndPoint(:GET, "/projects/$(encode(owner, repo))/pipeline_schedules")
return Endpoint(:GET, "/projects/$(encode(owner, repo))/pipeline_schedules")
end

into(::GitLabAPI, ::typeof(list_pipeline_schedules)) = Vector{PipelineSchedule}

0 comments on commit 7e34214

Please sign in to comment.