Update response name to be badgeResponse and properly use it in comment function.