6778caf846
* setup referral route * referredBy * add user id * modify user query * separate optional field from userInfo * get current reward on init of satellite gui * remove unsed code * fix format * only apply 0 credit on registration * only pass required information for rewards * fix time parsing * fix test and linter * rename method * add todo * remove user referral logic * add null check and fix format * get current offer * remove partnerID on CreateUser struct * fix storj-sim user creation * only redeem credit when there's an offer * fix default offer configuration * fix migration * Add helper function for get correct credit duration * add comment * only store userid into user_credit table * add check for partner id to set correct offer type * change free credit to use invitee credits * remove unecessary code |
||
---|---|---|
.. | ||
testdata | ||
apikey.go | ||
mail.go | ||
mutation_test.go | ||
mutation.go | ||
project.go | ||
projectmember.go | ||
query_test.go | ||
query.go | ||
reward.go | ||
schema.go | ||
token.go | ||
typecreator.go | ||
user.go | ||
usercredit.go | ||
utils.go |