forked from AkkomaGang/admin-fe
Return config with TagPolicy
This commit is contained in:
parent
9eb5a1b347
commit
bf5f6beb75
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
const configsWithoutTagPolicy = {
|
const configsWithTagPolicy = {
|
||||||
configs: [{
|
configs: [{
|
||||||
group: ':pleroma',
|
group: ':pleroma',
|
||||||
key: ':mrf',
|
key: ':mrf',
|
||||||
value: [
|
value: [
|
||||||
{ tuple: [':policies', 'Pleroma.Web.ActivityPub.MRF.ObjectAgePolicy'] },
|
{ tuple: [':policies', ['Pleroma.Web.ActivityPub.MRF.ObjectAgePolicy', 'Pleroma.Web.ActivityPub.MRF.TagPolicy']] },
|
||||||
{ tuple: [':transparency', true] },
|
{ tuple: [':transparency', true] },
|
||||||
{ tuple: [':transparency_exclusions', []] }
|
{ tuple: [':transparency_exclusions', []] }
|
||||||
] }],
|
] }],
|
||||||
|
@ -21,7 +21,7 @@ const configAfterUpdate = {
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function fetchSettings(authHost, token) {
|
export async function fetchSettings(authHost, token) {
|
||||||
return Promise.resolve({ data: configsWithoutTagPolicy })
|
return Promise.resolve({ data: configsWithTagPolicy })
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function updateSettings(configs, authHost, token) {
|
export async function updateSettings(configs, authHost, token) {
|
||||||
|
|
Loading…
Reference in a new issue