Can you eat honey cornbread while pregnant?

Someone was telling me I can’t eat honey while pregnant is this true? I ate cornbread with honey in it.