Showing 1 of 3 total issues
Function findDailyQuestion
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
findDailyQuestion(title: string, description: string): Promise<{ value: string, source: string, timeNow: Date }> {
// return new Promise((rs, rj) => {
// let body = JSON.stringify({ name });
// let headers = new Headers({ 'Content-Type': 'text/html' });
// let options = new RequestOptions({ headers: headers });