Skip to content

Commit

Permalink
Merge pull request #31 from JuliaWeb/fc/typofix
Browse files Browse the repository at this point in the history
Fix typos from last PR
  • Loading branch information
fchorney authored Aug 3, 2021
2 parents 5842e68 + 5a0fd18 commit 21918e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GitForge"
uuid = "8f6bce27-0656-5410-875b-07a5572985df"
authors = ["Chris de Graaf <me@cdg.dev>"]
version = "0.2.4"
version = "0.2.5"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
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}

2 comments on commit 21918e7

@fchorney
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/42109

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.5 -m "<description of version>" 21918e73e2d1801700a91f580fe082eb9ebf4941
git push origin v0.2.5

Please sign in to comment.