code refactoring + many security/bug fixes

This commit is contained in:
daniel31x13
2023-11-06 08:25:57 -05:00
parent b5a28f68ad
commit c8edc3844b
48 changed files with 472 additions and 317 deletions
+1 -3
View File
@@ -5,7 +5,6 @@ declare module "next-auth" {
interface Session {
user: {
id: number;
isSubscriber: boolean;
};
}
@@ -16,9 +15,8 @@ declare module "next-auth" {
declare module "next-auth/jwt" {
interface JWT {
sub: string;
sub?: number;
id: number;
isSubscriber: boolean;
iat: number;
exp: number;
jti: string;