mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 21:30:30 +01:00
fix: #12543, use PATCH
This commit is contained in:
@@ -112,7 +112,7 @@ export function post(route, data, onSuccess) {
|
||||
export function patch(route, data, onSuccess) {
|
||||
return call({
|
||||
url: route,
|
||||
method: 'patch',
|
||||
method: 'PATCH',
|
||||
data,
|
||||
headers: {
|
||||
'x-csrf-token': config.csrf_token,
|
||||
|
||||
Reference in New Issue
Block a user