forked from Gitlink/forgeplus
FIX code review
This commit is contained in:
parent
f64243d188
commit
03448c76f3
|
@ -21,11 +21,11 @@ class Gitea::Repository::Tags::ListService < Gitea::ClientService
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_page
|
def set_page
|
||||||
(params[:page] || 1).to_i
|
(params[:page] || PAGINATE_DEFAULT_PAGE).to_i
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_limit
|
def set_limit
|
||||||
(params[:limit] || 50).to_i
|
(params[:limit] || PAGINATE_DEFAULT_LIMIT).to_i
|
||||||
end
|
end
|
||||||
|
|
||||||
def url
|
def url
|
||||||
|
|
Loading…
Reference in New Issue