Skip to content

Commit

Permalink
fix(AuditLog): correct nickname type (#189)
Browse files Browse the repository at this point in the history
* fix(auditLog): Correct nickname type

* something something deno

* chore: Apply fix to v8
  • Loading branch information
Jiralite committed Aug 30, 2021
1 parent f2e2286 commit 64937e2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion deno/payloads/v8/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ export type APIAuditLogChangeKeyMute = AuditLogChangeData<'mute', boolean>;
/**
* Returned when a user's nick is changed
*/
export type APIAuditLogChangeKeyNick = AuditLogChangeData<'nick', boolean>;
export type APIAuditLogChangeKeyNick = AuditLogChangeData<'nick', string>;

/**
* Returned when a user's avatar_hash is changed
Expand Down
2 changes: 1 addition & 1 deletion deno/payloads/v9/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ export type APIAuditLogChangeKeyMute = AuditLogChangeData<'mute', boolean>;
/**
* Returned when a user's nick is changed
*/
export type APIAuditLogChangeKeyNick = AuditLogChangeData<'nick', boolean>;
export type APIAuditLogChangeKeyNick = AuditLogChangeData<'nick', string>;

/**
* Returned when a user's avatar_hash is changed
Expand Down
2 changes: 1 addition & 1 deletion payloads/v8/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ export type APIAuditLogChangeKeyMute = AuditLogChangeData<'mute', boolean>;
/**
* Returned when a user's nick is changed
*/
export type APIAuditLogChangeKeyNick = AuditLogChangeData<'nick', boolean>;
export type APIAuditLogChangeKeyNick = AuditLogChangeData<'nick', string>;

/**
* Returned when a user's avatar_hash is changed
Expand Down
2 changes: 1 addition & 1 deletion payloads/v9/auditLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ export type APIAuditLogChangeKeyMute = AuditLogChangeData<'mute', boolean>;
/**
* Returned when a user's nick is changed
*/
export type APIAuditLogChangeKeyNick = AuditLogChangeData<'nick', boolean>;
export type APIAuditLogChangeKeyNick = AuditLogChangeData<'nick', string>;

/**
* Returned when a user's avatar_hash is changed
Expand Down

0 comments on commit 64937e2

Please sign in to comment.