From 294bd4539d228e3a1fc1570f662c22caea242196 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E6=B0=B8?= <zhangyong@igengmei.com>
Date: Wed, 6 Mar 2019 10:53:56 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E9=A1=B5=E9=97=AE?=
 =?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 api/channel_build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/api/channel_build.py b/api/channel_build.py
index cf9b3e3..85137d7 100644
--- a/api/channel_build.py
+++ b/api/channel_build.py
@@ -205,7 +205,7 @@ class VersionList(APIView):
         :return:
         """
         page = int(request.GET.get('page', 1))
-        offset = int(request.GET.get('offset', 10))
+        offset = int(request.GET.get('limit', 10))
         try:
             version_list = self.rpc['venus/sun/channel_build/version/list'](
                 offset=(page-1)*offset, limit=offset
-- 
2.18.0