updatedDate not being added to db

Please help, updatedDate not being passed into FB database

onSubmitted (postData) {
      axios
        .post('https://nuxt-blog-9209b.firebaseio.com/posts.json', {
          ...postData,
          updatedDate: new Date()
        })
        .then(result => console.log(result))
        .catch(e => console.log(e))
    }

I fixed this by restarting npm run dev