Refactor to a single transformer file
This commit is contained in:
parent
cae604e79d
commit
9b16f5883c
4 changed files with 14 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
import http from '@/api/http';
|
||||
import { ServerBackup } from '@/api/server/types';
|
||||
import { rawDataToServerBackup } from '@/api/server/transformers';
|
||||
import { rawDataToServerBackup } from '@/api/transformers';
|
||||
|
||||
export default (uuid: string, name?: string, ignored?: string): Promise<ServerBackup> => {
|
||||
return new Promise((resolve, reject) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue