MCPcopy
hub / github.com/makeplane/plane / emailCheck

Method emailCheck

packages/services/src/auth/auth.service.ts:47–53  ·  view source on GitHub ↗

* Checks if an email exists in the system * @param {IEmailCheckData} data - Email data to verify * @returns {Promise } Response indicating email status * @throws {Error} Throws response data if the request fails

(data: IEmailCheckData)

Source from the content-addressed store, hash-verified

45 * @throws {Error} Throws response data if the request fails
46 */
47 async emailCheck(data: IEmailCheckData): Promise<IEmailCheckResponse> {
48 return this.post("/auth/email-check/", data, { headers: {} })
49 .then((response) => response?.data)
50 .catch((error) => {
51 throw error?.response?.data;
52 });
53 }
54
55 /**
56 * Sends a password reset link to the specified email address

Callers 2

handleEmailVerificationFunction · 0.45
handleEmailVerificationFunction · 0.45

Calls 1

postMethod · 0.45

Tested by

no test coverage detected