Skip to content

Conversation

@Shivam-53
Copy link
Member

No description provided.

@Shivam-53 Shivam-53 changed the base branch from main to development June 20, 2023 19:31
@@ -0,0 +1,10 @@
import connector from "#models/databaseUtil";
const {Schema}=connector;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't use Schema

})

const OTPStore=connector.model("OTPStore",otpStoreSchema)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create the curd operation
and export that

@@ -1,8 +1,7 @@
import OTPStore from "/models/OTPStore";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incorrect import statement

}

}
catch(error){
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing proper error catching

@Hitansh159 Hitansh159 merged commit 044cc1a into development Jun 27, 2023
@TejasNair9977 TejasNair9977 deleted the 29_Otp_Store branch October 15, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants