Format all the files

This commit is contained in:
Dane Everitt
2019-02-09 21:15:45 -08:00
parent 5bff8d99cc
commit b6773b56c1
22 changed files with 158 additions and 159 deletions

View File

@@ -9,7 +9,7 @@ import {ServerDatabase} from "@/api/server/types";
*/
export function createDatabase(server: string, database: string, remote: string): Promise<ServerDatabase> {
return new Promise((resolve, reject) => {
http.post(route('api.client.servers.databases', { server }), {database, remote})
http.post(route('api.client.servers.databases', {server}), {database, remote})
.then(response => {
const copy: any = response.data.attributes;
copy.password = copy.relationships.password.attributes.password;