mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-23 15:20:26 +01:00
Refactor education and experiences API to use meta properties for sorting and mapping
Remove pretty-printing from resume link JSON response
This commit is contained in:
@@ -9,7 +9,7 @@ export default defineMcpTool({
|
||||
const base_url = import.meta.dev ? 'http://localhost:3000/api' : 'https://mcp.arthurdanjou.fr/api'
|
||||
const url = `${base_url}/resumes/${lang}`
|
||||
return {
|
||||
content: [{ type: 'text', text: JSON.stringify(url, null, 2) }]
|
||||
content: [{ type: 'text', text: JSON.stringify(url) }]
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user