We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 167c390 commit f5f90abCopy full SHA for f5f90ab
app/styles/dark/styles/java.styl
@@ -1,3 +1,3 @@
1
-.project-config-container .form-line .fa-folder-o {
+.modals-container .project-config-container .form-line .fa-folder-o {
2
border-color: $tab-bar-border-color;
3
}
app/utils/request.js
@@ -133,6 +133,21 @@ request.raw = function (options) {
133
return axios(options)
134
135
136
+request.postJSON = function (url, data, options = {}) {
137
+ return request({
138
+ method: 'post',
139
+ url,
140
+ data,
141
+ headers: {
142
+ 'Content-Type': 'application/json',
143
+ ...(config.isPlatform && {
144
+ Accept: 'application/vnd.coding.v2+json'
145
+ })
146
+ },
147
+ ...options,
148
149
+}
150
+
151
request.axios = axios
152
153
export default request
0 commit comments