feat(search): index provider webhooks
This commit is contained in:
@@ -76,6 +76,13 @@ func (h *FacebookWebhookHandler) WithWorkerPool(wp *worker.WorkerPool) *Facebook
|
||||
return h
|
||||
}
|
||||
|
||||
func (h *FacebookWebhookHandler) WithSearchIndexer(indexer IncomingSearchIndexer) *FacebookWebhookHandler {
|
||||
if h != nil && h.persister != nil {
|
||||
h.persister.SetSearchIndexer(indexer)
|
||||
}
|
||||
return h
|
||||
}
|
||||
|
||||
// HandleFacebookVerification handles the GET webhook verification request from Facebook.
|
||||
// URL pattern: /webhooks/facebook/:inbox_id
|
||||
// Method: GET
|
||||
|
||||
Reference in New Issue
Block a user