big websocket change
This commit is contained in:
1 parent
0e3c272adc
commit
73248f7d9f
12 files changed
+126
-99
No files matched your search
+5
-1
@@ -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() {}
|
||||
Reference in new issue
Block a user