summaryrefslogtreecommitdiffstats
path: root/src/store
diff options
context:
space:
mode:
authorCyrille Bollu <cyrpub@bollu.be>2019-09-14 15:14:07 +0200
committerMaxence Lange <maxence@artificial-owl.com>2019-09-25 14:07:24 +0200
commitbf5b4483b794e2ea42b2940944d8ce628c9e6c16 (patch)
treee31b0d9a0a6c6b40ba06414ed19751c6ac6b986e /src/store
parentf1670624778536529f2e1877ef9a1eb04a33b4d1 (diff)
fixes bugs in single-post timeline
Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
Diffstat (limited to 'src/store')
-rw-r--r--src/store/timeline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/timeline.js b/src/store/timeline.js
index c9a160b8..b770c7a1 100644
--- a/src/store/timeline.js
+++ b/src/store/timeline.js
@@ -192,7 +192,7 @@ const actions = {
} else if (state.type === 'tags') {
url = OC.generateUrl(`apps/social/api/v1/stream/tag/${state.params.tag}?limit=25&since=` + sinceTimestamp)
} else if (state.type === 'single-post') {
- url = OC.generateUrl(`apps/social/@{state.params.account}/${state.params.id}`)
+ url = OC.generateUrl(`apps/social/@${state.params.account}/${state.params.id}`)
} else {
url = OC.generateUrl(`apps/social/api/v1/stream/${state.type}?limit=25&since=` + sinceTimestamp)
}