Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Commit

Permalink
Merge pull request #25 from hivenapp/revert-24-master
Browse files Browse the repository at this point in the history
Revert "Rename Endpoint"
  • Loading branch information
Looskie authored Aug 31, 2021
2 parents 446bfa6 + 593e25b commit b4ab118
Show file tree
Hide file tree
Showing 3 changed files with 1,592 additions and 3,827 deletions.
8 changes: 0 additions & 8 deletions lib/Collections/House.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,4 @@ export class House extends BaseCollection {
const deleteHouse = await rest.delete(`/houses/${this.id}`);
return deleteHouse;
}
async rename(name: String) {
const renamed = await rest.patch(`/houses/${this.id}`, {
data: {
name
}
});
return renamed;
}
}
Loading

0 comments on commit b4ab118

Please sign in to comment.