Skip to content

Commit 52a88f9

Browse files
committed
Add missing result builder prefix.
1 parent c9fab1e commit 52a88f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/HummingbirdRouter/RouteController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import Hummingbird
3838
public protocol RouteController where Context == Body.Context {
3939
associatedtype Context: RouterRequestContext
4040
associatedtype Body: RouterMiddleware
41-
var body: Body { get }
41+
@RouteBuilder<Context> var body: Body { get }
4242
}
4343

4444
// MARK: - MiddlewareFixedTypeBuilder + RouteController

0 commit comments

Comments
 (0)