Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnWeeks1 committed Mar 30, 2023
1 parent 618e5b8 commit 810005e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ onMounted(async () => {
try {
if (userStore.id) {
await userStore.hasSessionExpired()
await userStore.getTokens()
await userStore.getUser()
await userStore.getAllLinks()
}
Expand Down
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const login = async () => {
errors.value = null
try {
await userStore.getTokens()
// await userStore.getTokens()
await userStore.login(email.value, password.value)
await userStore.getUser()
await userStore.getAllLinks()
Expand Down
2 changes: 1 addition & 1 deletion pages/register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const register = async () => {
errors.value = null
try {
await userStore.getTokens()
// await userStore.getTokens()
await userStore.register(
name.value,
email.value,
Expand Down

0 comments on commit 810005e

Please sign in to comment.