From 62f6c14a2dac11bdf13ed99a393eec03715731b8 Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Mon, 29 Apr 2024 16:47:23 -0500 Subject: [PATCH] Annotate the Todo model accordingly with Fluent's recent Sendable update. --- Sources/App/Models/Todo.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/App/Models/Todo.swift b/Sources/App/Models/Todo.swift index c3c9eac1..081577f3 100644 --- a/Sources/App/Models/Todo.swift +++ b/Sources/App/Models/Todo.swift @@ -1,7 +1,7 @@ import Fluent import Vapor -final class Todo: Model, Content { +final class Todo: Model, Content, @unchecked Sendable { static let schema = "todos" @ID(key: .id)