Skip to content

Commit 82b21b2

Browse files
♻️ refactor: changed Endpoint.all_app_status signature to Endpoint.all_apps_status
1 parent 6762a41 commit 82b21b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

squarecloud/http/endpoints.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class Endpoint:
88
'USER': {'METHOD': 'GET', 'PATH': '/users/me'},
99
'APP_DATA': {'METHOD': 'GET', 'PATH': '/apps/{app_id}'},
1010
'APP_STATUS': {'METHOD': 'GET', 'PATH': '/apps/{app_id}/status'},
11-
'ALL_APP_STATUS': {'METHOD': 'GET', 'PATH': '/apps/status'},
11+
'ALL_APPS_STATUS': {'METHOD': 'GET', 'PATH': '/apps/status'},
1212
'ALL_BACKUPS': {'METHOD': 'GET', 'PATH': '/apps/{app_id}/backups'},
1313
'LOGS': {'METHOD': 'GET', 'PATH': '/apps/{app_id}/logs'},
1414
'START': {'METHOD': 'POST', 'PATH': '/apps/{app_id}/start'},
@@ -247,12 +247,12 @@ def all_backups(cls) -> Endpoint:
247247
return cls('ALL_BACKUPS')
248248

249249
@classmethod
250-
def all_app_status(cls) -> Endpoint:
250+
def all_apps_status(cls) -> Endpoint:
251251
"""
252252
Returns an Endpoint object that represents the
253253
/apps/status endpoint.
254254
"""
255-
return cls('ALL_APP_STATUS')
255+
return cls('ALL_APPS_STATUS')
256256

257257
@classmethod
258258
def current_webhook(cls) -> Endpoint:

0 commit comments

Comments
 (0)