diff --git a/handler.bas b/handler.bas index c2d5e8f..20df27e 100644 --- a/handler.bas +++ b/handler.bas @@ -242,12 +242,18 @@ Function request_adjust(doc As String, ByRef fail As Boolean) As Object fail = True Exit Function End If + + If Mid(wr, 1, 6) = "null" Then + MsgBox ("API route not implemented") + fail = True + Exit Function + End If Set json = JsonConverter.ParseJson(wr) If IsNull(json("x")) Then MsgBox ("no adjustment was made") - fail = True + fail = False Exit Function End If