Closed dgatto closed 3 years ago
protests/pins
{ "protestId": Schema.Types.ObjectId }
[x] pins will be added on to the protest schema as such:
pins
const schema = new Schema<Protest>({ _id: Schema.Types.ObjectId, ... pins: [Pin] });
torn between the schema name being pins or locations?
locations
protests/pins
which returns all locations associated to a protest.[x]
pins
will be added on to the protest schema as such: