Cannot apply $pull to a non-array value
i have been trying to update like and disliked to primitive.ObjectID
but i keep getting error like "write exception: write errors: [Cannot apply $pull to a non-array value]"
or "error decoding key disliked: cannot decode document into []primitive.ObjectID"
i dont even know what is wrong with my code, i think everything is right, but error keep coming up