Skip to content

Commit 9adbbfe

Browse files
committed
rename status method to statusAll
1 parent c003800 commit 9adbbfe

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/mighty-cats-tickle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@squarecloud/api": patch
3+
---
4+
5+
Rename `ApplicationManager#status` method to `statusAll` to match its API endpoint.

src/managers/application/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class ApplicationManager {
8181
/**
8282
* Returns the status for all your applications
8383
*/
84-
async status(): Promise<SimpleApplicationStatus[]> {
84+
async statusAll(): Promise<SimpleApplicationStatus[]> {
8585
const data = await this.client.api.application("all/status");
8686

8787
return data.response.map(

0 commit comments

Comments
 (0)