In our Tuesday sync up call we discussed an update where the "default" referral program editions config would be removed and ENSApi would interpret an undefined CUSTOM_REFERRAL_PROGRAM_EDITIONS environment variable as a referral program editions config with no editions at all.
This will have the added benefit that for any ENSApi instance where CUSTOM_REFERRAL_PROGRAM_EDITIONS is undefined won't do any extra work in relation to loading referral data from ENSDb.
- Since we're removing the "defaults" we should also remove the use of the word "custom".
- Remove.
- Make it more clear this is only related referral API requests and not all API requests.
- Remove.
- We should relax this constraint to allow for the array to be empty.
- We should rename
CUSTOM_REFERRAL_PROGRAM_EDITIONS to REFERRAL_PROGRAM_EDITIONS
In our Tuesday sync up call we discussed an update where the "default" referral program editions config would be removed and ENSApi would interpret an undefined
CUSTOM_REFERRAL_PROGRAM_EDITIONSenvironment variable as a referral program editions config with no editions at all.This will have the added benefit that for any ENSApi instance where
CUSTOM_REFERRAL_PROGRAM_EDITIONSis undefined won't do any extra work in relation to loading referral data from ENSDb.CUSTOM_REFERRAL_PROGRAM_EDITIONStoREFERRAL_PROGRAM_EDITIONS