fix blocking of remote accounts
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed

The property name was misspelled.
This commit is contained in:
Johann150 2022-08-14 11:33:08 +02:00
parent 9e6bc30a66
commit c8afce6b2c
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -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');
}