big websocket change

This commit is contained in:
ntr committed 2022-09-16 19:21:11 +10:00
1 parent 0e3c272adc
commit 73248f7d9f
12 files changed
+126 -99

No files matched your search

+5 -1
View File
@@ -1,4 +1,4 @@
import type { Want } from '@prisma/client';
import type { Want, User } from '@prisma/client';
export function logAxiosError(e) {
console.warn({
@@ -25,4 +25,8 @@ export function wantDetails(want: Want) {
}
}
export function isAdmin(user: User) {
return user.email === 'ntr@mnml.gg';
}
export function offerDetails() {}