pass classes mapping when querying sms backend views
Merge pull request #1162 from dimagi/classes

pass classes mapping when querying sms backend views