aboutsummaryrefslogtreecommitdiff
path: root/src/modules/api.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-08-16 13:12:31 +0300
committerHenry Jameson <me@hjkos.com>2018-08-16 13:12:31 +0300
commitef04a786344ff50cdfeefc79722dafd9c52dbf86 (patch)
tree5c7f40ae9a60dd1ce21d0446ff0e37d310b013b3 /src/modules/api.js
parentef515056b5cee27c2b62f3287349c58b67c286e4 (diff)
added workaround for broken favorites
Diffstat (limited to 'src/modules/api.js')
-rw-r--r--src/modules/api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/api.js b/src/modules/api.js
index a61340c2..20586f5c 100644
--- a/src/modules/api.js
+++ b/src/modules/api.js
@@ -46,6 +46,10 @@ const api = {
store.commit('addFetcher', {timeline, fetcher})
}
},
+ fetchOldPost (store, { postId }) {
+ console.log(store)
+ store.state.backendInteractor.fetchOldPost({ store, postId })
+ },
stopFetching (store, timeline) {
const fetcher = store.state.fetchers[timeline]
window.clearInterval(fetcher)