Problem/Motivation

I was noticing that, when authenticating via Patreon OAuth, the two token fields on user accounts were being saved, but no Patreon ID. After further inspection, it looks like this value was skipped.

Proposed resolution

Write the Patreon ID to its field on $wrapper:
$wrapper->field_user_patreon_id = $patreon_id;

Patch attached.

Remaining tasks

Review.

User interface changes

None.

API changes

None.

CommentFileSizeAuthor
patreon_patreon-id-wrapper.patch575 bytestorgospizza

Comments

torgosPizza created an issue. See original summary.

mrdalesmith’s picture

I've committed this change to the dev version of 7.2 so that it can be reviewed and tested. Thanks for the patch.

mrdalesmith’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.