publishing query fixed

Query being received on server now.
Time in epoch format.
Merge branch 'master' of https://github.com/nishant-jain/Middleware-dev