Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Add creationDate to registration & purchase data
Browse files Browse the repository at this point in the history
  • Loading branch information
bleskes committed Nov 12, 2014
1 parent a2fc6db commit 449f655
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/PhoneHome.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ define(function (require) {

register: function (data) {
var self = this;
data.creationDate = new Date().toISOString();
this.set('registrationData', data);
this.set('status', 'registered');
self.saveToBrowser();
Expand All @@ -203,6 +204,7 @@ define(function (require) {

confirmPurchase: function (data) {
var self = this;
data.creationDate = new Date().toISOString();
this.set('registrationData', data);
this.set('status', 'purchased');
this.set('registrationSent', false);
Expand Down

0 comments on commit 449f655

Please sign in to comment.