Skip to content

Conversation

@kingakidi
Copy link
Contributor

@kingakidi kingakidi commented Jan 30, 2025

Typing Error. change 'POST' to 'post'

Type '"POST"' is not assignable to type '"head" | "options" | "post" | "get" | "patch" | "put" | "delete" | "connect" | "trace" | undefined'. Did you mean '"post"'?

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

📝 Checklist

  • I have linked an issue or discussion.
  • I have added tests (if possible).
  • I have updated the documentation accordingly.
Typing Error. change 'POST' to 'post' Type '"POST"' is not assignable to type '"head" | "options" | "post" | "get" | "patch" | "put" | "delete" | "connect" | "trace" | undefined'. Did you mean '"post"'?
@phoenix-ru
Copy link
Collaborator

Hi @kingakidi, thank you for noticing it!

Could you also please change

and

endpoint: { path: '/refresh', method: 'POST' }, // [!code ++]

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 6, 2025

Open in Stackblitz

npm i https://pkg.pr.new/@sidebase/nuxt-auth@996 

commit: eb2085a

@phoenix-ru phoenix-ru merged commit d7aa289 into sidebase:main Feb 14, 2025
7 checks passed
@phoenix-ru
Copy link
Collaborator

Thank you for your contribution :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants