Let the Tag deletion actually delete
This commit is contained in:
parent
f15d1864c2
commit
bf306c53e7
|
@ -17,7 +17,7 @@ namespace HabitSharp.Managers {
|
|||
public Result<Object> Delete(Tag t) => this.Delete(t.Id);
|
||||
public Result<Object> Delete(Guid id) => this.Delete(id.ToString());
|
||||
public Result<Object> Delete(string id) {
|
||||
var req = new RestRequest("tags/{tagId}");
|
||||
var req = new RestRequest("tags/{tagId}", Method.DELETE);
|
||||
req.AddUrlSegment("tagId", id);
|
||||
return this.Client.Execute<Result<Object>>(req);
|
||||
}
|
||||
|
|
Reference in New Issue