Skip to content

Commit d6c9d93

Browse files
🐛 fix: fixed error in client.app
1 parent 6054c5e commit d6c9d93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

squarecloud/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ async def app(self, app_id: str, **kwargs) -> Application:
381381
if not app_data:
382382
raise ApplicationNotFound(app_id=app_id)
383383
app_data = app_data.pop()
384-
if payload.get('avatar'):
385-
del payload['avatar']
384+
if app_data.get('avatar'):
385+
del app_data['avatar']
386386
app: Application = Application(
387387
client=self, http=self._http, **app_data
388388
) # type: ignore

0 commit comments

Comments
 (0)