forked from FoundKeyGang/FoundKey
fix(server): faviconUrl of federated instance is missing
This commit is contained in:
parent
61c770d634
commit
a1e3eada2e
3 changed files with 9 additions and 1 deletions
|
@ -18,7 +18,9 @@ You should also include the user name that made the change.
|
||||||
- Add Badge Image to Push Notification #8012 @tamaina
|
- Add Badge Image to Push Notification #8012 @tamaina
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
- Fix GenerateVideoThumbnail failed @mei23
|
- Server: Fix GenerateVideoThumbnail failed @mei23
|
||||||
|
- Server: Ensure temp directory cleanup @Johann150
|
||||||
|
- favicons of federated instances not showing @syuilo
|
||||||
|
|
||||||
## 12.111.1 (2022/06/13)
|
## 12.111.1 (2022/06/13)
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@ export const InstanceRepository = db.getRepository(Instance).extend({
|
||||||
maintainerName: instance.maintainerName,
|
maintainerName: instance.maintainerName,
|
||||||
maintainerEmail: instance.maintainerEmail,
|
maintainerEmail: instance.maintainerEmail,
|
||||||
iconUrl: instance.iconUrl,
|
iconUrl: instance.iconUrl,
|
||||||
|
faviconUrl: instance.faviconUrl,
|
||||||
infoUpdatedAt: instance.infoUpdatedAt ? instance.infoUpdatedAt.toISOString() : null,
|
infoUpdatedAt: instance.infoUpdatedAt ? instance.infoUpdatedAt.toISOString() : null,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
|
@ -88,6 +88,11 @@ export const packedFederationInstanceSchema = {
|
||||||
optional: false, nullable: true,
|
optional: false, nullable: true,
|
||||||
format: 'url',
|
format: 'url',
|
||||||
},
|
},
|
||||||
|
faviconUrl: {
|
||||||
|
type: 'string',
|
||||||
|
optional: false, nullable: true,
|
||||||
|
format: 'url',
|
||||||
|
},
|
||||||
infoUpdatedAt: {
|
infoUpdatedAt: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
optional: false, nullable: true,
|
optional: false, nullable: true,
|
||||||
|
|
Loading…
Reference in a new issue