We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c9cb45 commit 263cb58Copy full SHA for 263cb58
1 file changed
lib/activityRecord.js
@@ -47,6 +47,10 @@ Post all records(except today)
47
and remove all posted records
48
*/
49
export function postRecords (data) {
50
+ if (process.env.BOOST_ENV === 'development') {
51
+ console.log('post failed - on development')
52
+ return
53
+ }
54
let records = getAllRecords()
55
records = records.filter(record => {
56
return !isSameDate(new Date(), record.date)
0 commit comments