Answer the question
In order to leave comments, you need to log in
`
How to do basic authentication in GitHub?
try {
const response = await axios
.get(`https://api.github.com/search/users?q=${configRequest.NAME}&page=${configRequest.CURRENT_PAGE}&per_page=${configRequest.PER_PAGE}`)
const users = await response.data
const payloadAddUsers = {
items: users.items,
total_count: users.total_count,
isLoading: false
}
commit('successFetchUsers', payloadAddUsers)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question