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

Method status

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

Source from the content-addressed store, hash-verified

123 }
124
125 async status() {
126 const auth =
127 (await this.api
128 ?.user()
129 .then(user => !!user)
130 .catch(e => {
131 console.warn('Failed getting GitLab user', e);
132 return false;
133 })) || false;
134
135 return { auth: { status: auth }, api: { status: true, statusPage: '' } };
136 }
137
138 authComponent() {
139 return AuthenticationPage;

Callers

nothing calls this directly

Calls 1

userMethod · 0.45

Tested by

no test coverage detected