Skip to content
Snippets Groups Projects
insee.js 376 B
Newer Older
  • Learn to ignore specific revisions
  • Bastien DUMONT's avatar
    Bastien DUMONT committed
    // @ts-check
    const { log } = require('cozy-konnector-libs')
    
    /**
     * Return inseeCode given a postalCode
     * @param {string} postalCode
     * @return {string} inseeCode
     */
    function getInseeCode(postalCode) {
      //TODO: Implement
      log('info', `Query getInseeCode for postalCode ${postalCode}`)
      throw new Error('Function not implemented.')
    }
    
    module.exports = {
      getInseeCode,
    }