heroku h10 error aws code example
Example: heroku h10 error aws
//change
import AWS from 'aws-sdk'
//into
const AWS = require('aws-sdk')
//This avoids memory problemes
//change
import AWS from 'aws-sdk'
//into
const AWS = require('aws-sdk')
//This avoids memory problemes