Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 47b8935

Browse files
committed
fix(PastebinClient): cast User to ClientUser
1 parent 6868681 commit 47b8935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/struct/PastebinClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export default class PastebinClient {
152152

153153
this.credentials.userKey = body.trim()
154154
if (this.credentials.userKey)
155-
this.user = await this.users.fetch(this.credentials.username)
155+
this.user = <ClientUser>await this.users.fetch(this.credentials.username)
156156

157157
return this
158158
}

0 commit comments

Comments
 (0)