akshitagupta15june / PetMe-Prod

PetMe-Prod is an all-in-one platform that allows animals to be adopted, donated to pet lovers, and provides emergency medical care to stray animals in need.
https://pet-me-prod-pet-me-frontend.vercel.app/
MIT License
13 stars 37 forks source link

Fix typeerror in the google oauth #49

Closed Khushi-S-29 closed 1 week ago

Khushi-S-29 commented 3 weeks ago

Fixing typeerror in the google oauth

cb7chaitanya commented 3 weeks ago

@Khushi-S-29 You need to fix the type error that typescript is giving only

Tanishq1604 commented 3 weeks ago
type User = {
  id: string;
  username: string;
  email: string;
  // Add other properties as needed
};

// Serialize user
passport.serializeUser<User, User>((user, done) => {
  done(null, user);
});

@Khushi-S-29 this is an example ,check if it works ! instead of using any and void types