Skip to content

Commit

Permalink
Fix linting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carifio24 committed Dec 4, 2024
1 parent 346edbb commit bdd7d68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,7 @@ export async function createClass(options: CreateClassOptions): Promise<CreateCl
}

try {
console.log(db);
const cls = await db.transaction(async _transaction => {
await db.transaction(async _transaction => {

const cls = await Class.create(creationInfo);

Expand Down
2 changes: 1 addition & 1 deletion src/stories/hubbles_law/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Attributes, FindOptions, Op, QueryTypes, Sequelize, WhereAttributeHash,
import { AsyncMergedHubbleStudentClasses, Galaxy, HubbleMeasurement, HubbleWaitingRoomOverride, SampleHubbleMeasurement, SyncMergedHubbleClasses } from "./models";
import { findClassById, findStudentById } from "../../database";
import { RemoveHubbleMeasurementResult, SubmitHubbleMeasurementResult } from "./request_results";
import { Class, ClassStories, StoryState, Student, StudentsClasses } from "../../models";
import { Class, StoryState, Student, StudentsClasses } from "../../models";
import { HubbleStudentData } from "./models/hubble_student_data";
import { HubbleClassData } from "./models/hubble_class_data";
import { IgnoreStudent } from "../../models/ignore_student";
Expand Down

0 comments on commit bdd7d68

Please sign in to comment.