Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 fix: casdoor webhooks providerAccountId not found #4055

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

cy948
Copy link
Contributor

@cy948 cy948 commented Sep 21, 2024

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

  • src/server/services/nextAuthUser/index.ts: 修复了因为 provider 字段而导致查询失败的问题

📝 补充信息 | Additional Information

Copy link

vercel bot commented Sep 21, 2024

@cy948 is attempting to deploy a commit to the LobeHub Pro Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Sep 21, 2024
@lobehubbot
Copy link
Member

👍 @cy948

Thank you for raising your pull request and contributing to our Community
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。
如果您遇到任何问题,请随时与我们联系。

@dosubot dosubot bot added the 🐛 Bug Something isn't working | 缺陷 label Sep 21, 2024
Copy link

codecov bot commented Sep 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.45%. Comparing base (91d8999) to head (20837ef).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4055      +/-   ##
==========================================
+ Coverage   91.73%   92.45%   +0.71%     
==========================================
  Files         481      482       +1     
  Lines       34229    34339     +110     
  Branches     2238     3216     +978     
==========================================
+ Hits        31400    31748     +348     
+ Misses       2829     2591     -238     
Flag Coverage Δ
app 92.45% <ø> (+0.71%) ⬆️
server 97.36% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arvinxx arvinxx merged commit b832289 into lobehub:main Sep 21, 2024
6 of 8 checks passed
@arvinxx
Copy link
Contributor

arvinxx commented Sep 21, 2024

记得补下单测

@lobehubbot
Copy link
Member

❤️ Great PR @cy948 ❤️

The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
项目的成长离不开用户反馈和贡献,感谢您的贡献! 如果您对 LobeHub 开发者社区感兴趣,请加入我们的 discord,然后私信 @arvinxx@canisminor1990。他们会邀请您加入我们的私密开发者频道。我们将会讨论关于 Lobe Chat 的开发,分享和讨论全球范围内的 AI 消息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Remember to take the single test

github-actions bot pushed a commit that referenced this pull request Sep 21, 2024
### [Version&nbsp;1.19.19](v1.19.18...v1.19.19)
<sup>Released on **2024-09-21**</sup>

#### 🐛 Bug Fixes

- **misc**: Casdoor webhooks providerAccountId not found.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Casdoor webhooks providerAccountId not found, closes [#4055](#4055) ([b832289](b832289))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@lobehubbot
Copy link
Member

🎉 This PR is included in version 1.19.19 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit to bentwnghk/lobe-chat that referenced this pull request Sep 21, 2024
### [Version&nbsp;1.62.6](v1.62.5...v1.62.6)
<sup>Released on **2024-09-21**</sup>

#### 🐛 Bug Fixes

- **misc**: Casdoor webhooks providerAccountId not found, fix Content-Security-Policy.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### What's fixed

* **misc**: Casdoor webhooks providerAccountId not found, closes [lobehub#4055](https://github.com/bentwnghk/lobe-chat/issues/4055) ([b832289](b832289))
* **misc**: Fix Content-Security-Policy, closes [lobehub#4056](https://github.com/bentwnghk/lobe-chat/issues/4056) ([d186062](d186062))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@cy948 cy948 deleted the fix/casdoor-webhook branch October 12, 2024 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 released size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants