Skip to content

Commit 516947a

Browse files
author
Jacob Rakidzich
committed
refactor logic
1 parent 277d075 commit 516947a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/HTTPEngine/HTTPEngine+ConvenienceMethods.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public extension HTTPEngine {
151151
url: String,
152152
validator: ResponseValidationClosure? = nil
153153
) -> AnyPublisher<Response, Error> {
154-
makeRequestAndParseResponse(value.self, method: .post, url: url, body: nil as NilBody?, validator: validator)
154+
post(value.self, url: url, body: nil as NilBody?, validator: validator)
155155
}
156156
}
157157

0 commit comments

Comments
 (0)