Skip to content

Commit

Permalink
Fix space vs tab file consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jcampbell committed Nov 6, 2017
1 parent a3c7bb6 commit 92610a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_rest_jsonapi/pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def add_pagination_links(data, object_count, querystring, base_url):
if querystring.pagination.get('size') != '0' and object_count > 1:
# compute last link
page_size = int(querystring.pagination.get('size', 0)) or current_app.config['PAGE_SIZE']
last_page = int(ceil(1. * object_count / page_size))
last_page = int(ceil(1. * object_count / page_size))

if last_page > 1:
links['first'] = links['last'] = base_url
Expand Down

0 comments on commit 92610a0

Please sign in to comment.