UNPKG

@defra-fish/gafl-webapp-service

Version:

The websales frontend for the GAFL service

12 lines (10 loc) 402 B
import { LICENCE_START_TIME } from '../../../uri.js' /** * Transfer the validate page object * @param request * @returns {Promise<void>} */ export default async request => { const { payload } = await request.cache().helpers.page.getCurrentPermission(LICENCE_START_TIME.page) await request.cache().helpers.transaction.setCurrentPermission({ licenceStartTime: payload['licence-start-time'] }) }