Skip to content

Commit

Permalink
Fix ticket in frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerviba committed Nov 17, 2023
1 parent ed4397d commit 238c01c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ open class AdmissionService(

} else {
val ticketByEmail = ticketRepository.findTop1ByEmailAndUseCmschIdFalse(user.email).firstOrNull()
if (ticketByEmail != null) {
if (user.email.isNotEmpty() && ticketByEmail != null) {
return ticketByEmail
}

Expand Down

2 comments on commit 238c01c

@vercel
Copy link

@vercel vercel bot commented on 238c01c Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cmsch-qpa – ./frontend

cmsch-qpa.vercel.app
cmsch-qpa-git-master-kir-dev.vercel.app
qpa.sch.bme.hu
cmsch-qpa-kir-dev.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 238c01c Nov 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cmsch-golyabal – ./frontend

cmsch-golyabal-git-master-kir-dev.vercel.app
cmsch-golyabal-kir-dev.vercel.app
golyabal.sch.bme.hu

Please sign in to comment.