Skip to content
Snippets Groups Projects
Commit 4d422a39 authored by Angelina Filippova's avatar Angelina Filippova
Browse files

Apply suggestion to src/store/modules/invites.js

parent a90b8a1f
No related branches found
No related tags found
1 merge request!45Generate invite tokens from admin-fe
......@@ -21,7 +21,7 @@ const invites = {
async FetchInviteTokens({ commit, getters }) {
commit('SET_LOADING', true)
const response = await listInviteTokens(getters.authHost, getters.token)
commit('SET_TOKENS', response.data.invites)
commit('SET_TOKENS', response.data.invites.reverse())
commit('SET_LOADING', false)
},
async GenerateInviteToken({ commit, dispatch, getters }, { maxUse, expiresAt }) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment