feat: update date fns to v2 (#232)

* chore: updates date-fns@2

* chore: updates date-fns@2  to new apis

* chore: updates date-fns@2, updates format
This commit is contained in:
Ayush Sharma
2019-10-30 07:02:07 +01:00
committed by Juan Picado @jotadeveloper
parent 0eb0566cde
commit a4cdd145d2
4 changed files with 11 additions and 11 deletions

View File

@@ -3,7 +3,7 @@
*/
import { Base64 } from 'js-base64';
import addHours from 'date-fns/add_hours';
import addHours from 'date-fns/addHours';
export function generateTokenWithTimeRange(limit = 0) {
const payload = {