mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-22 00:10:14 +00:00
fix(server): faviconUrl of federated instance is missing
This commit is contained in:
parent
14cc341cc9
commit
4efee455b1
3 changed files with 7 additions and 0 deletions
|
@ -20,6 +20,7 @@ You should also include the user name that made the change.
|
|||
### Bugfixes
|
||||
- Server: Fix GenerateVideoThumbnail failed @mei23
|
||||
- Server: Ensure temp directory cleanup @Johann150
|
||||
- favicons of federated instances not showing @syuilo
|
||||
|
||||
## 12.111.1 (2022/06/13)
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ export const InstanceRepository = db.getRepository(Instance).extend({
|
|||
maintainerName: instance.maintainerName,
|
||||
maintainerEmail: instance.maintainerEmail,
|
||||
iconUrl: instance.iconUrl,
|
||||
faviconUrl: instance.faviconUrl,
|
||||
infoUpdatedAt: instance.infoUpdatedAt ? instance.infoUpdatedAt.toISOString() : null,
|
||||
};
|
||||
},
|
||||
|
|
|
@ -88,6 +88,11 @@ export const packedFederationInstanceSchema = {
|
|||
optional: false, nullable: true,
|
||||
format: 'url',
|
||||
},
|
||||
faviconUrl: {
|
||||
type: 'string',
|
||||
optional: false, nullable: true,
|
||||
format: 'url',
|
||||
},
|
||||
infoUpdatedAt: {
|
||||
type: 'string',
|
||||
optional: false, nullable: true,
|
||||
|
|
Loading…
Reference in a new issue