mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
refactor(ApImageService.ts
): JSON.stringify()
でのindentationを追加
This commit is contained in:
parent
244f6720c1
commit
b651fb55dc
@ -51,7 +51,7 @@ export class ApImageService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (typeof image.url !== 'string') {
|
if (typeof image.url !== 'string') {
|
||||||
throw new Error('invalid image: unexpected type of url: ' + JSON.stringify(image.url));
|
throw new Error('invalid image: unexpected type of url: ' + JSON.stringify(image.url, null, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!checkHttps(image.url)) {
|
if (!checkHttps(image.url)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user