Skip to content

Commit

Permalink
delete then post
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 committed May 28, 2023
1 parent f2c9626 commit fa7a4ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/ParseServerSwift/Models/HookFunction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ extension HookFunction {
path,
name: name,
parseServerURLStrings: parseServerURLStrings)
return try await Self.method(.PUT,
return try await Self.method(method,
path,
name: name,
parseServerURLStrings: parseServerURLStrings)

Check warning on line 69 in Sources/ParseServerSwift/Models/HookFunction.swift

View check run for this annotation

Codecov / codecov/patch

Sources/ParseServerSwift/Models/HookFunction.swift#L62-L69

Added lines #L62 - L69 were not covered by tests
Expand Down
2 changes: 1 addition & 1 deletion Sources/ParseServerSwift/Models/HookTrigger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ extension HookTrigger {
className: className,
triggerName: triggerName,
parseServerURLStrings: parseServerURLStrings)
return try await Self.method(.PUT,
return try await Self.method(method,
path,
className: className,
triggerName: triggerName,
Expand Down

0 comments on commit fa7a4ea

Please sign in to comment.