mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-25 17:10:27 +01:00
Preload all
This commit is contained in:
@@ -13,6 +13,9 @@ export default class PostsController {
|
|||||||
.preload('tags', (tags) => {
|
.preload('tags', (tags) => {
|
||||||
tags.preload('label')
|
tags.preload('label')
|
||||||
})
|
})
|
||||||
|
.preload('cover')
|
||||||
|
.preload('title')
|
||||||
|
.preload('description')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user