Use result_to_list for all list endpoints, to ensure empty lists are handled correctly
This commit is contained in:
parent
ae4295ee4e
commit
138f47add3
4 changed files with 11 additions and 5 deletions
|
@ -3,8 +3,8 @@ api_photo.py : Trovebox Photo API Classes
|
|||
"""
|
||||
import base64
|
||||
|
||||
from trovebox.errors import TroveboxError
|
||||
from trovebox import http
|
||||
from trovebox.errors import TroveboxError
|
||||
from trovebox.objects.photo import Photo
|
||||
|
||||
def extract_ids(photos):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue