Skip to content

Commit

Permalink
hotfix: 작동하지 않는 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
ori0o0p committed Aug 17, 2024
1 parent c22511f commit da9e64a
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.example.whopper.domain.library.application.impl;

import com.example.whopper.domain.file.application.usecase.PdfUseCase;
import com.example.whopper.domain.library.application.usecase.TeacherFindLibraryUseCase;
import com.example.whopper.domain.library.dao.LibraryMongoRepository;
import com.example.whopper.domain.library.domain.type.AccessRight;
Expand All @@ -15,7 +14,6 @@
public class TeacherFindLibraryService implements TeacherFindLibraryUseCase {

private final LibraryMongoRepository libraryMongoRepository;
private final PdfUseCase pdfUseCase;

public DataResponseInfo<LibraryResponse> teacherFindLibrary(@Nullable Integer year) {
var libraries = (year == null)
Expand All @@ -28,8 +26,7 @@ public DataResponseInfo<LibraryResponse> teacherFindLibrary(@Nullable Integer ye
library.getAccessRight(),
library.getYear(),
library.getGrade(),
library.getGeneration(),
pdfUseCase.getPdfFileUrl(library.getFilePath())
library.getGeneration()
))
.toList());
}
Expand Down

0 comments on commit da9e64a

Please sign in to comment.