Skip to content

Commit

Permalink
Fix date-fns imports that broke after major version update
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksTeresh committed Nov 6, 2024
1 parent 0539b0a commit 5d7cfef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions importer-db-api/src/routes/suotar.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const models = require('../models')
const fs = require('fs')
const https = require('https')
const _ = require('lodash')
const sub = require('date-fns/sub')
const isBefore = require('date-fns/isBefore')
const { sub } = require('date-fns/sub')
const { isBefore } = require('date-fns/isBefore')

const logger = require('../utils/logger')

Expand Down

0 comments on commit 5d7cfef

Please sign in to comment.