Skip to content

Commit

Permalink
fix: log 코드 삭제 및 json0 가져오는 방식 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchef1 committed Nov 20, 2024
1 parent 191478e commit a60064a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/server/src/task/service/task.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { ContributorStatus } from '@/project/enum/contributor-status.enum';
import { TaskEventResponse } from '@/task/dto/task-event-response.dto';
import { UpdateInformation } from '@/task/domain/update-information.type';

const json0 = ShareDB.types.defaultType;
const { defaultType: json0 } = ShareDB.types;

@Injectable()
export class TaskService {
Expand Down Expand Up @@ -87,7 +87,6 @@ export class TaskService {
const updateTitle = change.title;
const existingTitle = existing.title;
const { event } = change;
console.log(change);
const op = this.convertToShareDbOp(event, updateTitle);

const newTitle = json0.apply(existingTitle, op);
Expand Down

0 comments on commit a60064a

Please sign in to comment.