{"action":"created","issue":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/424","repository_url":"https://api.github.com/repos/nuxt/nuxt.js","labels_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/424/comments","events_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/424/events","html_url":"https://github.com/nuxt/nuxt.js/issues/424","id":216462730,"node_id":"MDU6SXNzdWUyMTY0NjI3MzA=","number":424,"title":"Use vuex helper functions","user":{"login":"rmartins90","id":3165500,"node_id":"MDQ6VXNlcjMxNjU1MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/3165500?v=4","gravatar_id":"","url":"https://api.github.com/users/rmartins90","html_url":"https://github.com/rmartins90","followers_url":"https://api.github.com/users/rmartins90/followers","following_url":"https://api.github.com/users/rmartins90/following{/other_user}","gists_url":"https://api.github.com/users/rmartins90/gists{/gist_id}","starred_url":"https://api.github.com/users/rmartins90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmartins90/subscriptions","organizations_url":"https://api.github.com/users/rmartins90/orgs","repos_url":"https://api.github.com/users/rmartins90/repos","events_url":"https://api.github.com/users/rmartins90/events{/privacy}","received_events_url":"https://api.github.com/users/rmartins90/received_events","type":"User","site_admin":false},"labels":[{"id":469223667,"node_id":"MDU6TGFiZWw0NjkyMjM2Njc=","url":"https://api.github.com/repos/nuxt/nuxt.js/labels/type:%20help%20wanted","name":"type: help wanted","color":"128A0C","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-23T15:10:00Z","updated_at":"2018-11-03T01:14:19Z","closed_at":"2017-03-23T22:11:20Z","author_association":"NONE","body":"Hi guys, I'm migration my code from vanilla vue.js to nuxt.js. Congrats on this btw.\r\n\r\nI'm trying to make use of vuex helper functions like mapActions or mapGetters but I can't access to the methods. Please consider the following code snippet:\r\n\r\n    methods: {\r\n      ...mapActions('searchView', {\r\n        searchRequest: actionTypes.SEARCH_REQUEST,\r\n        clearState: actionTypes.SEARCH_CLEAR_STATE,\r\n        setPageSize: actionTypes.SEARCH_PAGE_SIZE_SET\r\n      })\r\n    },\r\n\r\n    fetch (context) {\r\n      const requestParams = context.route.query\r\n      this.searchRequest(requestParams)\r\n    },\r\n\r\nThis returns:\r\n\r\n> this.searchRequest is not a function\r\n\r\nWhat am I missing here?\n\n<!--cmty--><!--cmty_prevent_hook-->\n<div align=\"right\"><sub><em>This question is available on <a href=\"https://nuxtjs.cmty.io\">Nuxt.js</a> community (<a href=\"https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c373\">#c373</a>)</em></sub></div>"},"comment":{"url":"https://api.github.com/repos/nuxt/nuxt.js/issues/comments/435549471","html_url":"https://github.com/nuxt/nuxt.js/issues/424#issuecomment-435549471","issue_url":"https://api.github.com/repos/nuxt/nuxt.js/issues/424","id":435549471,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTU0OTQ3MQ==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-03T01:14:19Z","updated_at":"2018-11-03T01:14:19Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}