Fix
This commit is contained in:
parent
001bb7bbcd
commit
5675ecead9
|
@ -4,7 +4,6 @@
|
||||||
export type Source = {
|
export type Source = {
|
||||||
repository_url?: string;
|
repository_url?: string;
|
||||||
feedback_url?: string;
|
feedback_url?: string;
|
||||||
languages?: string[];
|
|
||||||
url: string;
|
url: string;
|
||||||
port: number;
|
port: number;
|
||||||
https?: { [x: string]: string };
|
https?: { [x: string]: string };
|
||||||
|
|
|
@ -60,7 +60,7 @@ router.get('/v1/instance', async ctx => { // TODO: This is a temporary implement
|
||||||
status_count: originalNotesCount,
|
status_count: originalNotesCount,
|
||||||
domain_count: domains.length
|
domain_count: domains.length
|
||||||
},
|
},
|
||||||
languages: config.languages || [ 'ja' ],
|
languages: meta.langs || [ 'ja' ],
|
||||||
contact_account: {
|
contact_account: {
|
||||||
id: maintainer._id,
|
id: maintainer._id,
|
||||||
username: maintainer.username,
|
username: maintainer.username,
|
||||||
|
|
Loading…
Reference in New Issue