mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
fix: 🐛 give donation link in non-admin meta
This commit is contained in:
parent
ae00ff0bb2
commit
733d7d438a
@ -389,6 +389,11 @@ export const meta = {
|
||||
nullable: false,
|
||||
default: "⭐",
|
||||
},
|
||||
donationLink: {
|
||||
type: "string",
|
||||
optional: "true",
|
||||
nullable: true,
|
||||
}
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
@ -491,6 +496,7 @@ export default define(meta, paramDef, async (ps, me) => {
|
||||
translatorAvailable:
|
||||
instance.deeplAuthKey != null || instance.libreTranslateApiUrl != null,
|
||||
defaultReaction: instance.defaultReaction,
|
||||
donationLink: instance.donationLink,
|
||||
|
||||
...(ps.detail
|
||||
? {
|
||||
|
Loading…
Reference in New Issue
Block a user