DARKRP Job Error

[ERROR] Lua is unable to understand file “darkrp_customthings/jobs.lua” because its author made a mistake around line number 711.
The best help I can give you is this:

Right before the ‘}’, Lua encountered something it could not make sense of.


TEAM_GUNDEALER_T1 = DarkRP.createJob("[T1] Gun Dealer", {
    color = Color(20, 150, 20, 255),
    model = {"models/player/Group01/Female_01.mdl"},
    description = [[A Gun Dealer is the only person who can sell guns to other people.
        Make sure you aren't caught selling illegal firearms to the public! You might get arrested!.
	    Requires at least T1 Package before you can access this job.]],
    weapons = {},
    command = "t1dealer",
    max = 0,
    salary = 0,
    admin = 0,
    vote = false,
    hasLicense = false,
    candemote = false,
    category = "Citizens",
	customCheck = function(ply)if SERVER then return ply:GetUserGroup() == "T1" or ply:GetUserGroup() == "T2" or ply:GetUserGroup() == "T3" or ply:GetUserGroup() == "T4" or ply:GetUserGroup() == "T5" or ply:GetUserGroup() == "eventplanner" or ply:GetUserGroup() == "seventplanner" or ply:GetUserGroup() == "eventmanager" or ply:GetUserGroup() == "headevent" or ply:GetUserGroup() == "tmod" or ply:GetUserGroup() == "mod" or ply:GetUserGroup() == "seniormod" or ply:GetUserGroup() == "tadmin" or ply:GetUserGroup() == "admin" or ply:GetUserGroup() == "senioradmin" or ply:GetUserGroup() == "superadmin",
})

Could anyone tell what i’ve forgot to include

you forgot to add an end inside customCheck