Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
refactor: remove app_type from login request (#55)
Browse files Browse the repository at this point in the history
Removed as it is not sent in v9.1.0
  • Loading branch information
szdc committed Nov 25, 2018
1 parent cf110e6 commit b84535b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export default class TikTokAPI {
loginWithUsername = (username: string, password: string) => this.login({
username: encryptWithXOR(username),
password: encryptWithXOR(password),
app_type: 'normal',
})

/**
Expand Down
3 changes: 0 additions & 3 deletions src/types/login.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ export interface LoginRequest {

/** The captcha answer - only required if a captcha was shown */
captcha?: string;

/** Hard-coded to "normal" */
app_type?: string;
}

export interface LoginResponse {
Expand Down

0 comments on commit b84535b

Please sign in to comment.