-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tagging of individual certificates/templates #54
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make the suggested changes for a more consistent code style.
src/models/certificate.js
Outdated
@@ -17,6 +17,7 @@ const certificateSchema = new Schema({ | |||
type: String, | |||
default: 'Certificate' | |||
}, | |||
tags:[String], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tags:[String], | |
tags: [String], |
src/models/template.js
Outdated
@@ -17,6 +17,7 @@ const templateSchema = new Schema({ | |||
type: String, | |||
required: true | |||
}, | |||
tags:[String], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tags:[String], | |
tags: [String], |
I have made the changes please check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! We'll proceed with further updates pertaining to the usage of tags.
Closes #51
Added tags field to Template Schema and Certificate Schema