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 |
||
---|---|---|
.. | ||
consoleauth | ||
consoleweb | ||
apikeys_test.go | ||
apikeys.go | ||
auth.go | ||
database.go | ||
projectinvoicestamps_test.go | ||
projectinvoicestamps.go | ||
projectmembers_test.go | ||
projectmembers.go | ||
projectpayments_test.go | ||
projectpayments.go | ||
projects_test.go | ||
projects.go | ||
registrationtoken.go | ||
resetpasswordtoken_test.go | ||
resetpasswordtoken.go | ||
service.go | ||
usagerollups_test.go | ||
usagerollups.go | ||
usercredits.go | ||
userpayments_test.go | ||
userpayments.go | ||
users_test.go | ||
users.go | ||
validation.go |