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

修复api创建/更新用户多对多字段bug #1776

Merged
merged 2 commits into from
Aug 22, 2022

Conversation

nick2wang
Copy link
Collaborator

fix #1775
多对多外键不能直接赋值,需要使用object.attr.set()方式

@codecov
Copy link

codecov bot commented Aug 16, 2022

Codecov Report

Merging #1776 (68bde46) into master (acb9a56) will decrease coverage by 0.00%.
The diff coverage is 76.92%.

@@            Coverage Diff             @@
##           master    #1776      +/-   ##
==========================================
- Coverage   76.21%   76.21%   -0.01%     
==========================================
  Files          91       91              
  Lines       14310    14319       +9     
==========================================
+ Hits        10907    10913       +6     
- Misses       3403     3406       +3     
Impacted Files Coverage Δ
sql_api/serializers.py 79.10% <76.92%> (-0.35%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@LeoQuote LeoQuote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nick2wang nick2wang merged commit 0341a69 into hhyo:master Aug 22, 2022
@nick2wang nick2wang deleted the fix-user-api-bug branch August 25, 2022 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

API 更新用户资源组会抛异常
2 participants