()
| 351 | } |
| 352 | |
| 353 | func (h *handler) handleGetResync() error { |
| 354 | status, err := h.db.ResyncManager.GetStatus(h.ctx()) |
| 355 | if err != nil { |
| 356 | return err |
| 357 | } |
| 358 | h.writeRawJSON(status) |
| 359 | base.Audit(h.ctx(), base.AuditIDDatabaseResyncStatus, nil) |
| 360 | return nil |
| 361 | } |
| 362 | |
| 363 | // ResyncPostReqBody represents Resync POST body to run resync for custom collections |
| 364 | type ResyncPostReqBody struct { |
nothing calls this directly
no test coverage detected