refactor(backend): Verplaats default value
This commit is contained in:
		
							parent
							
								
									3a732dbb75
								
							
						
					
					
						commit
						f2417e90f2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -7,7 +7,7 @@ interface Translations { | |||
| } | ||||
| 
 | ||||
| export function getThemesHandler(req: Request, res: Response): void { | ||||
|     const language = (req.query.language as string).toLowerCase() || 'nl'; | ||||
|     const language = (req.query.language as string || 'nl').toLowerCase(); | ||||
|     const translations = loadTranslations<Translations>(language); | ||||
|     const themeList = themes.map((theme) => ({ | ||||
|         key: theme.title, | ||||
|  |  | |||
		Reference in a new issue