Refactor updateFoodCareExercises function to optimize database queries and improve code clarity
- Replaced the Sequelize findAll method with a raw SQL query to fetch Bisaya courses along with native language information, enhancing performance. - Updated variable names for consistency and clarity, ensuring better readability of the code. - Adjusted the handling of course owner IDs to align with the new query structure, improving data integrity.
This commit is contained in:
@@ -408,7 +408,8 @@
|
||||
"recordingError": "Aufnahme-Fehler",
|
||||
"recognizedText": "Erkannter Text",
|
||||
"speechRecognitionNotSupported": "Speech Recognition wird von diesem Browser nicht unterstützt. Bitte verwende Chrome oder Edge.",
|
||||
"keywords": "Schlüsselwörter"
|
||||
"keywords": "Schlüsselwörter",
|
||||
"switchBackToMultipleChoice": "Zurück zu Multiple Choice"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -408,7 +408,8 @@
|
||||
"recordingError": "Recording error",
|
||||
"recognizedText": "Recognized Text",
|
||||
"speechRecognitionNotSupported": "Speech Recognition is not supported by this browser. Please use Chrome or Edge.",
|
||||
"keywords": "Keywords"
|
||||
"keywords": "Keywords",
|
||||
"switchBackToMultipleChoice": "Switch back to Multiple Choice"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user