V2 API for visualization gomathi part completed
This commit is contained in:
@@ -19,7 +19,6 @@ const eventSchema: Schema = new Schema(
|
||||
pointsUUID: { type: String },
|
||||
isArchive: { type: Boolean, default: false },
|
||||
actionUUID: { type: String },
|
||||
sceneID: { type: String },
|
||||
eventData: [
|
||||
{
|
||||
uuid: { type: String },
|
||||
@@ -34,6 +33,6 @@ const eventSchema: Schema = new Schema(
|
||||
);
|
||||
|
||||
const actionModel = (db: any) => {
|
||||
return MainModel(db, "Events", eventSchema, "Events");
|
||||
return MainModel(db, "Actions", eventSchema, "Actions");
|
||||
};
|
||||
export default actionModel;
|
||||
|
||||
Reference in New Issue
Block a user