Fixing issue discovered by webhook test case.

This commit is contained in:
mike12345567 2021-09-13 18:07:33 +01:00
parent 421d98d5b7
commit ce5feda3ed
1 changed files with 0 additions and 3 deletions

View File

@ -11,9 +11,6 @@ exports.getFetchResponse = async fetched => {
} catch (err) { } catch (err) {
message = "Failed to retrieve response" message = "Failed to retrieve response"
} }
if (typeof message !== "string") {
message = JSON.stringify(message)
}
return { status, message } return { status, message }
} }