So, yes it would be "snack". An indirect object answers the questions To or for whom? or To or For what? after an action verb. A direct object is a noun or a pronoun that receives the action of the verb.
Ex. Give Ben and his cousins a snack before bed. Give who a snack before bed? Ben and his cousins. This is a direct object example.