MCPcopy Create free account
hub / github.com/Cv-Keep/cvkeep-backend / removeForgotPass

Function removeForgotPass

functions/user.js:248–254  ·  view source on GitHub ↗
(hash)

Source from the content-addressed store, hash-verified

246 },
247
248 removeForgotPass(hash) {
249 return new Promise((resolve, reject) => {
250 return ForgotPass.deleteOne({ hash }, (error, data) => {
251 (error || !data) ? reject(error || 'error.internalUnexpectedError') : resolve(data);
252 });
253 });
254 },
255
256 getForgotPassObject(hash) {
257 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected