Refactor to a single transformer file

This commit is contained in:
Dane Everitt 2020-08-22 15:46:13 -07:00
parent cae604e79d
commit 9b16f5883c
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 14 additions and 15 deletions

View file

@ -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) => {