Skip to content

Commit

Permalink
integrate device and browser properties in Traffic class
Browse files Browse the repository at this point in the history
  • Loading branch information
jll38 committed Feb 9, 2024
1 parent c35f287 commit 7071128
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tinyclicks-elysia-next/src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ export class Traffic {
ip_address: string;
ip_type: string;
location: Location;
constructor(ip_address: string, ip_type: string, location: Location){
device : string;
browser : string;

constructor(ip_address: string, ip_type: string, location: Location, device: string, browser: string) {
this.location = location;
this.ip_address = ip_address;
this.ip_type = ip_type;
this.browser = browser;
this.device = device;

}
}
Expand Down

0 comments on commit 7071128

Please sign in to comment.