forked from FoundKeyGang/FoundKey
fix blocking of remote accounts
The property name was misspelled.
This commit is contained in:
parent
9e6bc30a66
commit
c8afce6b2c
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import { Blocking } from '@/models/entities/blocking.js';
|
|||
* @param block The block to be rendered. The blockee relation must be loaded.
|
||||
*/
|
||||
export function renderBlock(block: Blocking) {
|
||||
if (block.blockee?.url == null) {
|
||||
if (block.blockee?.uri == null) {
|
||||
throw new Error('renderBlock: missing blockee uri');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue