feat: separate trails and formations in cms
All checks were successful
CI / Validate frontend and API (push) Successful in 41s
CI / Build and publish Docker images (push) Successful in 25s

This commit is contained in:
Cauê Faleiros
2026-09-04 16:32:54 -03:00
parent 79d1c70c44
commit 09d85a7123
6 changed files with 35 additions and 13 deletions

View File

@@ -153,7 +153,7 @@ export const courseRoutes: FastifyPluginAsync = async (app) => {
app.get('/paths', async () => {
const result = await pool.query(
`select
p.id, p.title, p.description,
p.id, p.title, p.description, p.kind,
coalesce(p.cover_image_url, (
select value #>> '{}' from platform_settings where key = 'media.defaultCoverImageUrl'
)) as "coverImageUrl",