feat: get author on series

This commit is contained in:
2023-08-10 19:16:03 +02:00
parent 9058e192ba
commit d8f7ac38f1
6 changed files with 35 additions and 11 deletions

View File

@ -3,7 +3,7 @@ import { createDocument } from "@lib/documents.ts";
import { fileExtension } from "https://deno.land/x/file_extension@v2.1.0/mod.ts";
import { createMovie, getMovie } from "@lib/resource/movies.ts";
import * as tmdb from "@lib/tmdb.ts";
import { safeFileName } from "@lib/string.ts";
import { isString, safeFileName } from "@lib/string.ts";
import { json } from "@lib/helpers.ts";
import {
AccessDeniedError,
@ -12,10 +12,6 @@ import {
} from "@lib/errors.ts";
import * as cache from "@lib/cache/cache.ts";
const isString = (input: string | undefined): input is string => {
return typeof input === "string";
};
const POST = async (
req: Request,
ctx: HandlerContext,