mirror of
https://github.com/wassname/talk.git
synced 2026-10-29 13:40:57 +08:00
Fixed capital
This commit is contained in:
1 parent
5a2d8c5201
commit
2698045e82
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user