Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package com.linkedout.profile.repository

import com.linkedout.profile.model.Profile
import com.linkedout.profile.model.ProfileStats
import com.linkedout.profile.utils.ProfileGender
import org.springframework.data.r2dbc.repository.Query
import org.springframework.data.repository.reactive.ReactiveCrudRepository
import reactor.core.publisher.Flux
Expand Down Expand Up @@ -44,7 +43,7 @@ interface ProfileRepository : ReactiveCrudRepository<Profile, UUID> {
userId: UUID,
firstName: String,
lastName: String,
gender: ProfileGender,
gender: Int,
birthday: LocalDate,
nationality: String,
addressFirstLine: String,
Expand Down Expand Up @@ -79,7 +78,7 @@ interface ProfileRepository : ReactiveCrudRepository<Profile, UUID> {
userId: UUID,
firstName: String?,
lastName: String?,
gender: ProfileGender?,
gender: Int?,
birthday: LocalDate?,
nationality: String?,
addressFirstLine: String?,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ProfileService(
seasonworkerId,
profile.firstName,
profile.lastName,
profile.gender,
profile.gender.value,
profile.birthday,
profile.nationality,
profile.addressFirstLine,
Expand All @@ -40,7 +40,7 @@ class ProfileService(
seasonworkerId,
profile.firstName,
profile.lastName,
profile.gender,
profile.gender?.value,
profile.birthday,
profile.nationality,
profile.addressFirstLine,
Expand Down