v2: mv _paginate paginate
This commit is contained in:
parent
e6c99bb471
commit
21cbe0bd07
3 changed files with 6 additions and 6 deletions
|
@ -2,12 +2,12 @@ from flask import jsonify
|
|||
|
||||
from auth.registry_jwt_auth import process_registry_jwt_auth, get_granted_entity
|
||||
from endpoints.decorators import anon_protect
|
||||
from endpoints.v2 import v2_bp, _paginate
|
||||
from endpoints.v2 import v2_bp, paginate
|
||||
|
||||
@v2_bp.route('/_catalog', methods=['GET'])
|
||||
@process_registry_jwt_auth()
|
||||
@anon_protect
|
||||
@_paginate()
|
||||
@paginate()
|
||||
def catalog_search(limit, offset, pagination_callback):
|
||||
username = None
|
||||
entity = get_granted_entity()
|
||||
|
|
Reference in a new issue