Skip to content

Commit c032dfe

Browse files
committed
Fix for #404
1 parent 2377580 commit c032dfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AsyncJson.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ size_t AsyncMessagePackResponse::_fillBuffer(uint8_t *data, size_t len) {
112112
#endif
113113

114114
// Body handler supporting both content types: JSON and MessagePack
115-
constexpr static bool JsonHandlerMethods =
115+
constexpr static WebRequestMethodComposite JsonHandlerMethods =
116116
AsyncWebRequestMethod::HTTP_GET | AsyncWebRequestMethod::HTTP_POST | AsyncWebRequestMethod::HTTP_PUT | AsyncWebRequestMethod::HTTP_PATCH;
117117

118118
#if ARDUINOJSON_VERSION_MAJOR == 6

0 commit comments

Comments
 (0)