checking api key validity in getQuestionTemplates
@@ -848,6 +848,8 @@ public class WorkMgrService {
checkStringParam(apiKey, "API key");
+ checkApiKeyValidity(apiKey);
+
Map<String, String> questionTemplates = Main.getQuestionTemplates();
if (questionTemplates == null) {
