Adds validation and error handling to signup
This commit is contained in:
@@ -6,4 +6,7 @@ import org.springframework.data.jpa.repository.JpaRepository
|
||||
import org.springframework.stereotype.Repository
|
||||
|
||||
@Repository
|
||||
interface HunterRepository : JpaRepository<HunterRecord, HunterId>
|
||||
interface HunterRepository : JpaRepository<HunterRecord, HunterId>
|
||||
interface HunterRepository : JpaRepository<HunterRecord, HunterId> {
|
||||
fun findByEmail(email: String): HunterRecord?
|
||||
}
|
||||
Reference in New Issue
Block a user