Skip to content

Commit

Permalink
added some TODOs for mocked API for kyc4(Quiz)
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-ares committed Oct 19, 2023
1 parent 74dc8dd commit b8aeec5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/eskimo-hut/kyc.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ func (s *service) StartOrContinueKYCStep4Session( //nolint:gocritic,funlen,reviv
_ context.Context,
req *server.Request[StartOrContinueKYCStep4SessionRequestBody, kyc4.Quiz],
) (*server.Response[kyc4.Quiz], *server.Response[server.ErrorResponse]) {
//nolint:godox // .
// TODO add validations for "selectedOption" && "questionNumber".
// TODO if we don`t support a specific language, default to 'en'.
// TODO return 404 USER_NOT_FOUND if user is not found.
// TODO implement the proper logic for the use cases bellow.
if req.Data.QuestionNumber != 222 { //nolint:gomnd // .
switch rand.Intn(10) { //nolint:gosec,gomnd // .
case 0:
Expand Down

0 comments on commit b8aeec5

Please sign in to comment.