fix: 🐛 give donation link in non-admin meta
This commit is contained in:
parent
badd040df6
commit
6b5d9f7454
@ -389,6 +389,11 @@ export const meta = {
|
|||||||
nullable: false,
|
nullable: false,
|
||||||
default: "⭐",
|
default: "⭐",
|
||||||
},
|
},
|
||||||
|
donationLink: {
|
||||||
|
type: "string",
|
||||||
|
optional: "true",
|
||||||
|
nullable: true,
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} as const;
|
} as const;
|
||||||
@ -491,6 +496,7 @@ export default define(meta, paramDef, async (ps, me) => {
|
|||||||
translatorAvailable:
|
translatorAvailable:
|
||||||
instance.deeplAuthKey != null || instance.libreTranslateApiUrl != null,
|
instance.deeplAuthKey != null || instance.libreTranslateApiUrl != null,
|
||||||
defaultReaction: instance.defaultReaction,
|
defaultReaction: instance.defaultReaction,
|
||||||
|
donationLink: instance.donationLink,
|
||||||
|
|
||||||
...(ps.detail
|
...(ps.detail
|
||||||
? {
|
? {
|
||||||
|
Loading…
Reference in New Issue
Block a user