mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-16 19:49:28 +00:00
Safetycheck FHCAPI plugin
This commit is contained in:
@@ -42,6 +42,8 @@ export default {
|
||||
function _clean_return_value(response) {
|
||||
const result = response.data;
|
||||
delete response.data;
|
||||
if (!result)
|
||||
return {meta: {response}, data: null};
|
||||
if (!result.meta)
|
||||
result.meta = {response};
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user