feat: switch to postgres only sync, removed nats publishing
Some checks failed
release / docker (push) Has been cancelled
Some checks failed
release / docker (push) Has been cancelled
This commit is contained in:
@@ -15,13 +15,14 @@ const (
|
||||
ACCOUNT_ACTIVE_VOUCHER = 17
|
||||
)
|
||||
|
||||
var ValidDataTypeLookup = map[uint16]struct{}{
|
||||
ACCOUNT_BLOCKCHAIN_ADDRESS: {},
|
||||
ACCOUNT_FIRST_NAME: {},
|
||||
ACCOUNT_LAST_NAME: {},
|
||||
ACCOUNT_YOB: {},
|
||||
ACCOUNT_LOCATION: {},
|
||||
ACCOUNT_GENDER: {},
|
||||
ACCOUNT_COMMODITIES: {},
|
||||
ACCOUNT_ACTIVE_VOUCHER: {},
|
||||
// ValidDataTypeLookup allows us to filter go-vise data types, additionally the value maps to the ussd_data coulmn
|
||||
var ValidDataTypeLookup = map[uint16]string{
|
||||
ACCOUNT_BLOCKCHAIN_ADDRESS: "blockchain_address",
|
||||
ACCOUNT_FIRST_NAME: "first_name",
|
||||
ACCOUNT_LAST_NAME: "last_name",
|
||||
ACCOUNT_YOB: "yob",
|
||||
ACCOUNT_LOCATION: "location_name",
|
||||
ACCOUNT_GENDER: "gender",
|
||||
ACCOUNT_COMMODITIES: "commodities",
|
||||
ACCOUNT_ACTIVE_VOUCHER: "active_voucher",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user