Fixed a bug with the web-hook.