MCPcopy Create free account
hub / github.com/decaporg/decap-cms / status

Method status

packages/decap-cms-backend-gitlab/src/implementation.ts:135–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 }
134
135 async status() {
136 const auth =
137 (await this.api
138 ?.user()
139 .then(user => !!user)
140 .catch(e => {
141 console.warn('Failed getting GitLab user', e);
142 return false;
143 })) || false;
144
145 return { auth: { status: auth }, api: { status: true, statusPage: '' } };
146 }
147
148 authComponent() {
149 return AuthenticationPage;

Callers

nothing calls this directly

Calls 1

userMethod · 0.45

Tested by

no test coverage detected