diff --git a/todos-postgres-tutorial/Sources/App/Repositories/TodoRepository.swift b/todos-postgres-tutorial/Sources/App/Repositories/TodoRepository.swift index dee37bf8..fde58f5e 100644 --- a/todos-postgres-tutorial/Sources/App/Repositories/TodoRepository.swift +++ b/todos-postgres-tutorial/Sources/App/Repositories/TodoRepository.swift @@ -1,7 +1,7 @@ import Foundation /// Interface for storing and editing todos -protocol TodoRepository { +protocol TodoRepository: Sendable { /// Create todo. func create(title: String, order: Int?, urlPrefix: String) async throws -> Todo /// Get todo