This commit is contained in:
syuilo 2018-11-07 12:30:56 +09:00
parent 001bb7bbcd
commit 5675ecead9
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 1 additions and 2 deletions

View File

@ -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 };

View File

@ -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,