diff --git a/sql/util/requests.sql b/sql/util/requests.sql index e6d317440b5..8dd23d96e1a 100644 --- a/sql/util/requests.sql +++ b/sql/util/requests.sql @@ -49,7 +49,7 @@ LANGUAGE js AS """ return 'script'; } else if (['eot', 'ttf', 'woff', 'woff2', 'otf'].includes(ext)) { return 'font'; - } else if (['png', 'gif', 'jpg', 'jpeg', 'webp', 'ico', 'svg']) { + } else if (['png', 'gif', 'jpg', 'jpeg', 'webp', 'ico', 'svg'].includes(ext)) { return 'image'; } else if (['css', 'xml'].includes(ext)) { return ext; @@ -194,4 +194,4 @@ SELECT getSummary(payload).*, payload FROM - `httparchive.requests.2020_08_01_*` \ No newline at end of file + `httparchive.requests.2020_08_01_*`