Added a middleware for checking hash digest of webhook