Skip to content

v1.1.0

Compare
Choose a tag to compare
@dylankelly dylankelly released this 28 Aug 00:16
· 756 commits to develop since this release

Upgrade notes

This update need a small update on custom site "/store/index.js" to add request id, but without this changes, site should still working, not a breaking change.

   import { logger } from '@dpc-sdp/ripple-nuxt-tide/lib/core'

   export const actions = {
-    async nuxtServerInit ({ dispatch }) {
+    async nuxtServerInit ({ dispatch }, { req }) {
       try {
-        await dispatch('tide/init')
+        await dispatch('tide/init', { requestId: req.requestId })
       } catch (error) {
         if (process.server) {
           logger.error('Tide API server has an error.', { error, label: 'App' })
         }
         throw error
       }
     }
   }