🐛 Fix: fix S3 deletion endpoint parse bug

This commit is contained in:
萌萌哒赫萝
2023-02-17 15:42:49 +08:00
parent 02633513df
commit 7f7f400ce9
4 changed files with 19 additions and 12 deletions

View File

@@ -35,7 +35,7 @@ export const getRawData = (args: any): any => {
})
return data
}
if (typeof args === 'object') {
if (typeof args === 'object' && args !== null) {
const data = {} as IStringKeyMap
Object.keys(args).forEach(key => {
const item = args[key]