From a04f2017841aeb49dcd1f680eac42107f786a918 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Sat, 2 Nov 2024 16:06:53 +0100 Subject: [PATCH] fix: :bug: Some entities can have a null author, but not all --- app/entities/instance-metadata/page.mdx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/entities/instance-metadata/page.mdx b/app/entities/instance-metadata/page.mdx index 51dd14e..07b3a5e 100644 --- a/app/entities/instance-metadata/page.mdx +++ b/app/entities/instance-metadata/page.mdx @@ -9,7 +9,9 @@ Contains metadata about a Versia instance, such as capabilities and endpoints. { ## The `null` Author -On all entities that have an `author` field, the `author` can be `null` to represent the instance itself as the author (like ActivityPub's Server Actors). In this case, the instance's public key should be used to verify the entity. To know which instance's public key to use, the entity signature should be used. +On some entities that have an `author` field, the `author` can be `null` to represent the instance itself as the author (like ActivityPub's Server Actors). In this case, the instance's public key should be used to verify the entity. To know which instance's public key to use, the entity signature should be used. + +Check the entity's documentation page to see if it supports this (it will be noted in the `author` field). ## Entity Definition