add logger and fix url preview

This commit is contained in:
tamaina
2023-01-03 13:28:58 +00:00
parent 0f06a9ed0e
commit 0048f1538c
2 changed files with 59 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
import { Inject, Injectable } from '@nestjs/common';
import * as summaly from 'summaly';
import summaly from 'summaly';
import { DI } from '@/di-symbols.js';
import type { UsersRepository } from '@/models/index.js';
import type { Config } from '@/config.js';