mirror of
https://github.com/paricafe/misskey.git
synced 2025-01-22 03: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');
|
||||
}
|
||||
|
||||
if (this.utilityService.punyHost(object.id) !== this.utilityService.punyHost(value)) {
|
||||
throw new Error(`invalid AP object ${value}: id ${object.id} has different host`);
|
||||
}
|
||||
// if (this.utilityService.punyHost(object.id) !== this.utilityService.punyHost(value)) {
|
||||
// throw new Error(`invalid AP object ${value}: id ${object.id} has different host`);
|
||||
// }
|
||||
|
||||
return object;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue