Altinn / altinn-cdn

Static assets used by Altinn solutions and apps.
https://altinncdn.no
1 stars 30 forks source link

fix: update documentation to specify correct default value for timestamp #82

Closed haakemon closed 2 years ago

haakemon commented 2 years ago

The current implementation actually defaults to 'undefined', and there is a strict check if the timestamp is set to 'false'. The result of this check (timestamp === false) will only be true if timestamp is 'false'. 'undefined' (default) will not result in this check evaluating to 'true'.