diff --git a/internal/handlers/check.go b/internal/handlers/check.go index 1f52027..f724a7a 100644 --- a/internal/handlers/check.go +++ b/internal/handlers/check.go @@ -89,12 +89,6 @@ func CheckMyWork(w http.ResponseWriter, r *http.Request) { } } - if column == "File Path" { - model := ColumnValue("Object Model", header, row) - if strInSlice(model, []string{"Binary", "Video", "Page", "Image", "Digital Document"}) { - errors[i] = "Missing source file" - } - } if column == "Resource Type" { model := ColumnValue("Object Model", header, row) if model != "Page" { diff --git a/internal/handlers/check_test.go b/internal/handlers/check_test.go index de943d9..a758877 100644 --- a/internal/handlers/check_test.go +++ b/internal/handlers/check_test.go @@ -153,7 +153,7 @@ func TestCheckMyWork(t *testing.T) { {"foo", "Image", "foo", ""}, }, statusCode: http.StatusOK, - response: `{"D2":"Missing source file"}`, + response: `{}`, }, { name: "OK file",