add flow-hash

This commit is contained in:
Emily
2024-06-10 15:05:05 +02:00
parent e0981cef4a
commit 0c3a25b7e0
6 changed files with 31 additions and 10 deletions

View File

@@ -10,6 +10,7 @@ export type TVisit = {
country: string,
session: string,
flowHash: string,
device: string,
website: string,
@@ -27,9 +28,9 @@ const VisitSchema = new Schema<TVisit>({
continent: { type: String },
country: { type: String },
session: { type: String },
session: { type: String },
flowHash: { type: String },
device: { type: String },
website: { type: String, required: true },