mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-02 21:06:44 -06:00
不要なプロパティをレスポンスから削除
This commit is contained in:
parent
0b075ad4e9
commit
d77aa1f26a
1 changed files with 6 additions and 1 deletions
|
@ -139,7 +139,12 @@ export default define(meta, async (ps, me) => {
|
||||||
errorImageUrl: instance.errorImageUrl,
|
errorImageUrl: instance.errorImageUrl,
|
||||||
iconUrl: instance.iconUrl,
|
iconUrl: instance.iconUrl,
|
||||||
maxNoteTextLength: instance.maxNoteTextLength,
|
maxNoteTextLength: instance.maxNoteTextLength,
|
||||||
emojis: emojis,
|
emojis: emojis.map(e => ({
|
||||||
|
id: e.id,
|
||||||
|
aliases: e.aliases,
|
||||||
|
name: e.name,
|
||||||
|
url: e.url,
|
||||||
|
})),
|
||||||
enableEmail: instance.enableEmail,
|
enableEmail: instance.enableEmail,
|
||||||
|
|
||||||
enableTwitterIntegration: instance.enableTwitterIntegration,
|
enableTwitterIntegration: instance.enableTwitterIntegration,
|
||||||
|
|
Loading…
Reference in a new issue