Fix currentUser mutation

This commit is contained in:
Matt Rider 2019-04-15 19:53:34 -03:00
parent d4a4c9f362
commit 1c4b08ddba

View File

@ -87,7 +87,6 @@ export const actions = {
id
url
}
}
notifications(read: false, orderBy: createdAt_desc) {
id
read
@ -105,6 +104,7 @@ export const actions = {
slug
}
}
}
}`)
})
if (!currentUser) return dispatch('logout')