So I have two similar endpoints but one is for admins and one is for users with the only exceptions is an parameter used for some calculation. Since the logic is some 100 li