mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 03:40:49 +08:00
FIX code review
This commit is contained in:
@@ -21,11 +21,11 @@ class Gitea::Repository::Tags::ListService < Gitea::ClientService
|
||||
end
|
||||
|
||||
def set_page
|
||||
(params[:page] || 1).to_i
|
||||
(params[:page] || PAGINATE_DEFAULT_PAGE).to_i
|
||||
end
|
||||
|
||||
def set_limit
|
||||
(params[:limit] || 50).to_i
|
||||
(params[:limit] || PAGINATE_DEFAULT_LIMIT).to_i
|
||||
end
|
||||
|
||||
def url
|
||||
|
||||
Reference in New Issue
Block a user