RegisterSignup and RegisterFeedback are not verifying the existence of optional fields before trying to use them, and RegisterFeedback, RegisterLogin and RegisterPayment are not verifying the existence of required fields, leading to a nil pointer dereference error.
This PR adds nil validation to pointer types and the validation of FeedbackType parameters.
RegisterSignup
andRegisterFeedback
are not verifying the existence of optional fields before trying to use them, andRegisterFeedback
,RegisterLogin
andRegisterPayment
are not verifying the existence of required fields, leading to a nil pointer dereference error.This PR adds nil validation to pointer types and the validation of
FeedbackType
parameters.Fixes #34.