mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
リモートユーザーを正しくブロックできるように修正する (#9027)
This commit is contained in:
parent
1175f6488d
commit
fed327b437
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.
|
* @param block The block to be rendered. The blockee relation must be loaded.
|
||||||
*/
|
*/
|
||||||
export function renderBlock(block: Blocking) {
|
export function renderBlock(block: Blocking) {
|
||||||
if (block.blockee?.url == null) {
|
if (block.blockee?.uri == null) {
|
||||||
throw new Error('renderBlock: missing blockee uri');
|
throw new Error('renderBlock: missing blockee uri');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue