Downgrade to v13

[vi] cảm giác đau khổ
This commit is contained in:
March 7th
2022-03-24 17:55:32 +07:00
parent 9596b1a210
commit 7dfdef46a5
218 changed files with 8584 additions and 9108 deletions

View File

@@ -1,6 +1,7 @@
'use strict';
const Base = require('./Base');
const { MembershipStates } = require('../util/Constants');
/**
* Represents a Client OAuth2 Application Team Member.
@@ -31,9 +32,9 @@ class TeamMember extends Base {
if ('membership_state' in data) {
/**
* The permissions this Team Member has with regard to the team
* @type {TeamMemberMembershipState}
* @type {MembershipState}
*/
this.membershipState = data.membership_state;
this.membershipState = MembershipStates[data.membership_state];
}
if ('user' in data) {