openstatusHQ / openstatus

🏓 The open-source synthetic monitoring platform 🏓
https://openstatus.dev
GNU Affero General Public License v3.0
6.04k stars 380 forks source link

Fix NextAuth type #812

Open thibaultleouay opened 4 months ago

thibaultleouay commented 4 months ago

Reproduction / Replay Link (Optional)

No response

Description

We have two ts-expect-error in adapter.ts

We should fix the type with next-auth module augmentation

https://github.com/openstatusHQ/openstatus/blob/45fcc5d6d9cfd59894bdf69d6edb991a776a6557/apps/web/src/lib/auth/adapter.ts#L28

Environment

No response

Upvote & Fund

Fund with Polar

nick2432 commented 1 month ago

can i work on this?

thibaultleouay commented 1 month ago

If you want to help @nick2432 🙏

nick2432 commented 1 month ago

image why am I getting this error? @thibaultleouay

thibaultleouay commented 1 month ago

image why am I getting this error? @thibaultleouay

It might be a missing env value?

How did you launch it? @nick2432

nick2432 commented 1 month ago

image use this to run sqllite and then run pnpm dev

thibaultleouay commented 1 month ago

@nick2432 you should run pnpm dev in the apps/web directory, we should update the doc 🤦

nick2432 commented 1 month ago

@nick2432 you should run pnpm dev in the apps/web directory, we should update the doc 🤦

Thank you it is working now