summaryrefslogtreecommitdiff
path: root/gitlab/mixins.py
diff options
context:
space:
mode:
authorDylann Cordel <cordel.d@free.fr>2021-04-22 17:44:39 +0200
committerDylann Cordel <cordel.d@free.fr>2021-04-22 17:44:39 +0200
commit3ba27ffb6ae995c27608f84eef0abe636e2e63da (patch)
treed036be7529949a65aa3d201fcbda7389962dad65 /gitlab/mixins.py
parent60c5fd8878ff54f6e3fcd168545ab3af139f1dcc (diff)
downloadgitlab-3ba27ffb6ae995c27608f84eef0abe636e2e63da.tar.gz
fix: update user's bool data and avatar
If we want to update email, avatar and do not send email confirmation change (`skip_reconfirmation` = True), `MultipartEncoder` will try to encode everything except None and bytes. So it tries to encode bools. Casting bool's values to their stringified int representation fix it.
Diffstat (limited to 'gitlab/mixins.py')
0 files changed, 0 insertions, 0 deletions