mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-08-28 02:54:08 +00:00
give auth
This commit is contained in:
@@ -3854,7 +3854,9 @@ class Localuser {
|
||||
}
|
||||
{
|
||||
const instanceInfo = settings.addButton(I18n.instanceInfo.name());
|
||||
fetch(this.info.api + "/policies/instance")
|
||||
fetch(this.info.api + "/policies/instance", {
|
||||
headers: this.headers,
|
||||
})
|
||||
.then((_) => _.json())
|
||||
.then((body) => {
|
||||
const json = body as {
|
||||
|
||||
Reference in New Issue
Block a user