Commit 63dbc8d3 authored by Christophe Benz's avatar Christophe Benz
Browse files

Fix URL to topic

parent 533a9be1
......@@ -20,7 +20,7 @@ export function discourseTopicToCardData(source, topic) {
imageUrl: topic.image_url,
html: topic.excerpt,
// title already exist in `topic`
url: `${source.baseUrl}/t/${source.topic}.json`
url: `${source.baseUrl}/t/${topic.slug}`
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment