parent
258bd3c905
commit
99f3f0917f
10 changed files with 137 additions and 82 deletions
|
|
@ -276,7 +276,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
|||
uri: this.config.url,
|
||||
description: instance.description,
|
||||
langs: instance.langs,
|
||||
tosUrl: instance.ToSUrl,
|
||||
tosUrl: instance.termsOfServiceUrl,
|
||||
repositoryUrl: instance.repositoryUrl,
|
||||
feedbackUrl: instance.feedbackUrl,
|
||||
disableRegistration: instance.disableRegistration,
|
||||
|
|
@ -315,8 +315,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
|||
mediaProxy: this.config.mediaProxy,
|
||||
|
||||
...(ps.detail ? {
|
||||
pinnedPages: instance.pinnedPages,
|
||||
pinnedClipId: instance.pinnedClipId,
|
||||
cacheRemoteFiles: instance.cacheRemoteFiles,
|
||||
requireSetup: (await this.usersRepository.countBy({
|
||||
host: IsNull(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue