Place: Reduce image API call to private_hash
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Avoids all the unnecessary informations such as thumbnails, etc
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
export async function preload (page, session) {
|
||||
// Load photos
|
||||
const fields = [
|
||||
'id', 'name', 'slug', 'date', 'image.*',
|
||||
'id', 'name', 'slug', 'date', 'image.private_hash',
|
||||
'location.id', 'location.name', 'location.slug', 'location.region', 'location.country.name', 'location.country.slug',
|
||||
'created_on', 'modified_on'
|
||||
].join(',')
|
||||
|
||||
Reference in New Issue
Block a user