diff options
author | Cyrille Bollu <cyrpub@bollu.be> | 2019-09-14 15:14:07 +0200 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-09-25 14:07:24 +0200 |
commit | bf5b4483b794e2ea42b2940944d8ce628c9e6c16 (patch) | |
tree | e31b0d9a0a6c6b40ba06414ed19751c6ac6b986e /src/store | |
parent | f1670624778536529f2e1877ef9a1eb04a33b4d1 (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.js | 2 |
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) } |