-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
in Class MongoengineAssociationMixin, secret is a StringField but you call base64.encodestring(association.secret)
to store it.
This method expects and returns bytes so the ending .save()
does not pass validation.
To fix it, there are 2 solutions:
base64.encodestring(association.secret).decode()
and store it like a string- change secret as a BinaryField instead of StringField
Have a nice day :)
Disclaimer:
Even if I've read guidelines, I'm new in "issue reporting" so tell me if you need any further informations
Metadata
Metadata
Assignees
Labels
No labels