refactor: better toast messages + minor ui improvements
This commit is contained in:
@@ -56,8 +56,8 @@ export const JavascriptJqueryCodegen = {
|
||||
requestString.push(".then(response => {\n")
|
||||
requestString.push(" console.log(response);\n")
|
||||
requestString.push("})")
|
||||
requestString.push(".catch(error => {\n")
|
||||
requestString.push(" console.log(error);\n")
|
||||
requestString.push(".catch(e => {\n")
|
||||
requestString.push(" console.error(e);\n")
|
||||
requestString.push("})\n")
|
||||
return requestString.join("")
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user