Skip to content

Commit

Permalink
Adding a JSONObject so we can return the data in
Browse files Browse the repository at this point in the history
  • Loading branch information
3mrdev committed May 17, 2020
1 parent b14f760 commit 3b5de42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ class Api (http.Controller):

@http.route(['/api/books'], type="http", auth="public", website=True, method=['POST'], csrf=False)
def get_books(self):
values = {}

data = request.env['flutter.book'].sudo().search_read([])

0 comments on commit 3b5de42

Please sign in to comment.