Skip to content

Commit 06df31f

Browse files
committed
WIP: add explicit return
feature/make-internal-aggregate-endpoint-public
1 parent 0b09781 commit 06df31f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/CoreDataRepository/CoreDataRepository+Aggregate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ extension CoreDataRepository {
3131
) async -> Result<Value, CoreDataError> {
3232
switch function {
3333
case .count:
34-
await count(predicate: predicate, entityDesc: entityDesc, as: valueType)
34+
return await count(predicate: predicate, entityDesc: entityDesc, as: valueType)
3535
default:
36-
await Self.send(
36+
return await Self.send(
3737
function: .sum,
3838
context: context,
3939
predicate: predicate,

0 commit comments

Comments
 (0)