mirror of
https://github.com/paricafe/misskey.git
synced 2025-01-22 10:58:40 -06:00
backend: removed AP obj different host check
This commit is contained in:
parent
8cb9e048ae
commit
ce14b758b3
1 changed files with 3 additions and 3 deletions
|
@ -131,9 +131,9 @@ export class Resolver {
|
||||||
throw new Error('invalid AP object: missing id');
|
throw new Error('invalid AP object: missing id');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.utilityService.punyHost(object.id) !== this.utilityService.punyHost(value)) {
|
// if (this.utilityService.punyHost(object.id) !== this.utilityService.punyHost(value)) {
|
||||||
throw new Error(`invalid AP object ${value}: id ${object.id} has different host`);
|
// throw new Error(`invalid AP object ${value}: id ${object.id} has different host`);
|
||||||
}
|
// }
|
||||||
|
|
||||||
return object;
|
return object;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue