Skip to content

Odysee Premium

mayeaux edited this page Apr 4, 2022 · 1 revision

Odysee Premium is run off of the same API as the rest of the creator memberships.

When a user logs in, if the returned user has the property odysee_membership as true, we will run a call to check if they have Premium or Premium+. The function used is doCheckUserOdyseeMemberships at ui/redux/actions/user.js:116 and is called several times in redux/actions/user to account for the different ways of logging in. It will then add the value in redux under state.user.odyseeMembershipName.

Clone this wiki locally