sun-pc 7 달 전
부모
커밋
93654458a1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      boxcost/db/repo/repo.go

+ 1 - 1
boxcost/db/repo/repo.go

@@ -311,7 +311,7 @@ func diffUpdateData(oldObj any, newObj any) (*DiffUpdateData, error) {
 		case diffmatchpatch.DiffInsert:
 			diffData.Diff += fmt.Sprintf("<ins>%s</ins>", diff.Text)
 		case diffmatchpatch.DiffDelete:
-			diffData.Diff += fmt.Sprintf("<des>%s</des>", diff.Text)
+			diffData.Diff += fmt.Sprintf("<del>%s</del>", diff.Text)
 		case diffmatchpatch.DiffEqual:
 			diffData.Diff += diff.Text
 		}