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