Lua Coding problem

So i am pretty good at doing the jobs but when ever i go to make a job to a certain rank it gives me this error:

I dont understand cause there isnt a “}” there and shouldnt be there plus thats not even where “customcheck” is
I attached a link to the whole file Here

Please help thank you to who ever helps me!

All your jobs from TEAM_SWAT and down that have a customCheck is missing a comma on their hasLicense line.

I’m stupid thank you