MCPcopy Index your code
hub / github.com/Dispatcharr/Dispatcharr / fetchSuperUser

Method fetchSuperUser

frontend/src/api.js:146–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144 }
145
146 static async fetchSuperUser() {
147 try {
148 return await request(`${host}/api/accounts/initialize-superuser/`, {
149 auth: false,
150 method: 'GET',
151 });
152 } catch (error) {
153 console.error('Error checking superuser status:', error);
154 throw error;
155 }
156 }
157
158 static async createSuperUser({ username, email, password }) {
159 try {

Callers 1

checkSuperuserFunction · 0.80

Calls 1

requestFunction · 0.85

Tested by

no test coverage detected