Skip to content

Commit

Permalink
Update ParseHookTrigger+Vapor.swift
Browse files Browse the repository at this point in the history
Copy fix for #41 and apply it to ParseHookTrigger
  • Loading branch information
jaysonng committed Jan 13, 2024
1 parent 0538fca commit 42c55aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ public extension RoutesBuilder {
let route = self.on(.POST, path, body: body, use: closure)
Task {
do {
await configuration.hooks.updateTriggers(try await ParseHookTrigger.create(path,
await configuration.hooks.updateTriggers(try await ParseHookTrigger.create(route.path,
className: className,
trigger: trigger))
} catch {
Expand Down

0 comments on commit 42c55aa

Please sign in to comment.