Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<version>4.13.2</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20090211</version>
<version>20220320</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion src/main/java/com/mixpanel/mixpanelapi/MessageBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public MessageBuilder(String token) {
* @return event message for consumption by MixpanelAPI
*/
public JSONObject event(String distinctId, String eventName, JSONObject properties) {
long time = System.currentTimeMillis() / 1000;
long time = System.currentTimeMillis();

// Nothing below should EVER throw a JSONException.
try {
Expand Down