Fixed capital

This commit is contained in:
Wyatt Johnson
2017-01-24 15:50:37 -07:00
parent 5a2d8c5201
commit 2698045e82
+1 -1
View File
@@ -18,7 +18,7 @@ const buildOptions = (inputOptions = {}) => {
if (options._csrf) {
switch (options.method.toLowerCase()) {
case 'POST':
case 'post':
case 'put':
case 'delete':
options.headers['x-csrf-token'] = options._csrf;