-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix: db write secret error #5081
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
Conversation
1. method `install_providers` in providers_service.py need to use `provider_unique_id` as provider_id(currently use type) to save specific consumer provider to db and make sure when removing specific one instead of all consumers with same type. 2. method remove_consumer in event_subscriber.py wants `str` but given `object`: `provider_model`, will never take effective, need to send `provider_model.id`. 3. method `update_provider` in providers_service.py: need to re-add consumer to make sure configuration is latest in provider.. Signed-off-by: cheterchao <42969446+zcc0077@users.noreply.github.com>
Signed-off-by: cheterchao <42969446+zcc0077@users.noreply.github.com>
Signed-off-by: cheterchao <42969446+zcc0077@users.noreply.github.com>
This reverts commit 1e59259.
This reverts commit 2c65ec0.
(builtins.TypeError) SQLite DateTime type only accepts Python datetime and date objects as input. [SQL: UPDATE secret SET value=?, last_updated=? WHERE secret."key" = ?]
|
@zcc0077 is attempting to deploy a commit to the KeepHQ Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
|
🎉 Well done @zcc0077! Two PRs merged already! 🎉🥳 With your second PR, you're on a roll, and your contributions are already making a difference. 🌟 |
Closes #5080
📑 Description
fix write_secret error when update(e.g. update installed provider):
✅ Checks
ℹ Additional Information