This commit is contained in:
Elijah Lucian
2021-04-14 18:16:50 -06:00
parent 8df1fed14c
commit 1904bb8668
8 changed files with 59 additions and 91 deletions

View File

@@ -1,7 +0,0 @@
import { User } from '../../types'
export const mockUser: User = {
id: '4242-4242-4242-4242',
username: 'TestUser42',
email: 'testuser@email.com',
}

View File

@@ -0,0 +1,12 @@
import { DataBuddy } from '@dank-inc/data-buddy'
import { User } from '../../types'
const userRecords: User[] = [
{
id: '42',
username: 'TestUser42',
email: 'testuser@email.com',
},
]
export const users = new DataBuddy(userRecords)

View File

@@ -51,7 +51,7 @@ export class Api {
}
}
export const logOut = () => {
export const logOut = async () => {
wipeJWT()
// axios -> delete session?
}