fix eslint warning in UrlPreviewService.ts
This commit is contained in:
@@ -67,7 +67,7 @@ export class UrlPreviewService {
|
|||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
public async handle(
|
public async handle(
|
||||||
request: FastifyRequest<{ Querystring: { url: string; lang?: string; } }>,
|
request: FastifyRequest<{ Querystring: { url?: string; lang?: string; } }>,
|
||||||
reply: FastifyReply,
|
reply: FastifyReply,
|
||||||
): Promise<object | undefined> {
|
): Promise<object | undefined> {
|
||||||
const url = request.query.url;
|
const url = request.query.url;
|
||||||
|
|||||||
Reference in New Issue
Block a user