mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-06 00:33:51 +09:00
refactor: separate meta api for admin or not
This commit is contained in:
@ -95,7 +95,7 @@ export default defineComponent({
|
||||
|
||||
methods: {
|
||||
async init() {
|
||||
const meta = await os.api('meta', { detail: true });
|
||||
const meta = await os.api('admin/meta');
|
||||
this.enableEmail = meta.enableEmail;
|
||||
this.email = meta.email;
|
||||
this.smtpSecure = meta.smtpSecure;
|
||||
|
Reference in New Issue
Block a user