Skip to content

Commit

Permalink
Fix function comment
Browse files Browse the repository at this point in the history
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
  • Loading branch information
davidsvantesson committed Aug 24, 2019
1 parent 0839b96 commit 244cbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/api/v1/convert/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func ToCommitMeta(repo *models.Repository, tag *git.Tag) *api.CommitMeta {
}
}

// ToTopic convert from models.Topic to api.TopicResponse
// ToTopicResponse convert from models.Topic to api.TopicResponse
func ToTopicResponse(topic *models.Topic) *api.TopicResponse {
return &api.TopicResponse{
ID: topic.ID,
Expand Down

0 comments on commit 244cbd3

Please sign in to comment.