json as any

This commit is contained in:
Michael C 2021-09-22 17:57:12 -04:00
parent c779c2c19e
commit 9b6808273b
No known key found for this signature in database
GPG key ID: FFB04FB3B878B7B4

View file

@ -255,7 +255,7 @@ describe("lockCategoriesRecords", () => {
}); });
it("Should return 400 for no userID", (done) => { it("Should return 400 for no userID", (done) => {
const json = { const json: any = {
videoID: "test", videoID: "test",
userID: null, userID: null,
categories: ["sponsor"], categories: ["sponsor"],
@ -270,7 +270,7 @@ describe("lockCategoriesRecords", () => {
}); });
it("Should return 400 for no videoID", (done) => { it("Should return 400 for no videoID", (done) => {
const json = { const json: any = {
videoID: null, videoID: null,
userID: "test", userID: "test",
categories: ["sponsor"], categories: ["sponsor"],