Skip to content

Commit 6cc22ce

Browse files
Merge pull request #54 from MitanshiKshatriya/main
Tagging of individual certificates/templates
2 parents f37858e + 7cabb33 commit 6cc22ce

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/models/certificate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const certificateSchema = new Schema({
1717
type: String,
1818
default: 'Certificate'
1919
},
20+
tags: [String],
2021
template: {
2122
type: String,
2223
required: true

src/models/template.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const templateSchema = new Schema({
1717
type: String,
1818
required: true
1919
},
20+
tags: [String],
2021
fields: [fieldSchema],
2122
background: {
2223
type: String,

0 commit comments

Comments
 (0)