troi-library
Advanced tools
Comparing version
@@ -143,4 +143,4 @@ import debugModule from "debug"; | ||
async deleteTimeEntry(id) { | ||
await this.makeRequest({ | ||
url: `${this.baseUrl}/billings/hours/${id}`, | ||
return await this.makeRequest({ | ||
url: `/billings/hours/${id}`, | ||
method: "delete", | ||
@@ -151,3 +151,3 @@ }); | ||
async deleteTimeEntryViaServerSideProxy(id) { | ||
await fetch(`/time_entries/${id}`, { | ||
return await fetch(`/time_entries/${id}`, { | ||
method: "delete", | ||
@@ -154,0 +154,0 @@ headers: { |
{ | ||
"name": "troi-library", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "API library wrapper to interact with troi", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7264
-0.01%