Package updates

This commit is contained in:
Dane Everitt 2019-12-07 12:12:33 -08:00
parent ae3f05b8f7
commit bfd62304ae
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 752 additions and 1915 deletions

View file

@ -5,7 +5,7 @@ export default (server: string, file: string): Promise<string> => {
http.get(`/api/client/servers/${server}/files/contents`, {
params: { file },
transformResponse: res => res,
responseType: 'text/plain',
responseType: 'text',
})
.then(({ data }) => resolve(data))
.catch(reject);