Skip to content

Commit

Permalink
user correct type value: LOGGER_CONFIG
Browse files Browse the repository at this point in the history
  • Loading branch information
zburke committed Oct 24, 2023
1 parent 73a19b3 commit ccb46c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serviceWorkerRegistration.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const registerServiceWorker = async (okapiConfig, config, logger) => {
logger.log('rtr', 'sending OKAPI_CONFIG');
sw.postMessage({ source: '@folio/stripes-core', type: 'OKAPI_CONFIG', value: okapiConfig });
logger.log('rtr', 'sending LOGGER', logger);
sw.postMessage({ source: '@folio/stripes-core', type: 'LOGGER', value: { categories: config.logCategories } });
sw.postMessage({ source: '@folio/stripes-core', type: 'LOGGER_CONFIG', value: { categories: config.logCategories } });
} else {
console.error('(rtr) service worker not available');
}
Expand Down

0 comments on commit ccb46c6

Please sign in to comment.