diff --git a/Sources/Submissions/UpdateRequest.swift b/Sources/Submissions/UpdateRequest.swift index 2b61b46..b0822c4 100644 --- a/Sources/Submissions/UpdateRequest.swift +++ b/Sources/Submissions/UpdateRequest.swift @@ -21,7 +21,7 @@ public extension UpdateRequest { } public extension UpdateRequest where Model: Authenticatable { - static func update(on request: Request) -> EventLoopFuture { + static func updateAuthenticatable(on request: Request) -> EventLoopFuture { do { return update(try request.auth.require(), on: request) } catch {