mirror of
https://github.com/romancm/gamebrary
synced 2025-03-01 21:27:08 +00:00
remove unused props from wikipedia action
This commit is contained in:
parent
097cf34a72
commit
1a3b95b168
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ export default {
|
|||
|
||||
LOAD_WIKIPEDIA_ARTICLE(context, articleTitle) {
|
||||
return new Promise((resolve, reject) => {
|
||||
axios.get(`https://en.wikipedia.org/w/api.php?origin=*&action=query&prop=extracts|images|links|linkshere|imageinfo&titles=${articleTitle}&inprop=url&format=json`)
|
||||
axios.get(`https://en.wikipedia.org/w/api.php?origin=*&action=query&prop=extracts&titles=${articleTitle}&format=json`)
|
||||
.then(({ data: { query } }) => {
|
||||
const pageIds = Object.keys(query.pages);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue