@equinor/fusion
Advanced tools
Comparing version 0.1.96 to 0.1.97
@@ -28,3 +28,3 @@ import BaseApiClient from './BaseApiClient'; | ||
const url = this.resourceCollections.tasks.priority(id); | ||
await this.httpClient.patchAsync(url, priority, null, Promise.resolve); | ||
await this.httpClient.patchAsync(url, priority, null, async () => await Promise.resolve()); | ||
} | ||
@@ -31,0 +31,0 @@ async refreshTasksAsync(type, refreshRequest) { |
@@ -23,3 +23,2 @@ import { IAuthContainer } from '../../auth/AuthContainer'; | ||
private parseResponseJSONAsync; | ||
private parseResponseStringAsync; | ||
private parseResponseAsync; | ||
@@ -26,0 +25,0 @@ private createHttpResponse; |
@@ -104,7 +104,2 @@ import uuid from 'uuid/v1'; | ||
} | ||
async parseResponseStringAsync(request, response) { | ||
const data = await response.text(); | ||
// TODO: Update cache status? | ||
return this.createHttpResponse(request, response, data); | ||
} | ||
async parseResponseAsync(request, response, responseParser) { | ||
@@ -111,0 +106,0 @@ const data = responseParser |
{ | ||
"name": "@equinor/fusion", | ||
"version": "0.1.96", | ||
"version": "0.1.97", | ||
"description": "Everything a Fusion app needs to communicate with the core", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
163685
3925