Skip to content

Commit

Permalink
refactor : ktlint 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chws0508 committed Jul 28, 2023
1 parent 8364f95 commit e4d792e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package com.emmsale.data.event

import com.emmsale.data.common.ApiResult

interface EventRepository {
suspend fun getEvents(
year: Int,
month: Int,
status: String,
tags: List<String>,
): ApiResult<List<Event>>
)
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.emmsale.data.event

import com.emmsale.data.common.ApiResult
import com.emmsale.data.common.handleApi
import com.emmsale.data.event.dto.EventApiModel
import com.emmsale.data.event.dto.toData
Expand All @@ -17,7 +16,7 @@ class EventRepositoryImpl(
month: Int,
status: String,
tags: List<String>,
): ApiResult<List<Event>> = withContext(dispatcher) {
): Unit = withContext(dispatcher) {
handleApi(eventService.getEvents(year, month, status, tags), List<EventApiModel>::toData)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ class MemberRepositoryImpl(
handleApi(memberService.updateMember(MemberApiModel.from(member))) { }
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,3 @@ class KerdyFirebaseMessagingService : FirebaseMessagingService() {
private const val FOLLOW_CHANNEL_ID = "follow_channel_id"
}
}


0 comments on commit e4d792e

Please sign in to comment.