mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Admin persistence changes (#5086)
This commit is contained in:
parent
090a48515c
commit
b111f0921c
9 changed files with 148 additions and 10 deletions
|
|
@ -13,7 +13,7 @@ export function getWarnList(modName: string, userName: string, userClientid: str
|
|||
switch (responseCode) {
|
||||
case webClient.protobuf.controller.Response.ResponseCode.RespOk:
|
||||
const { warning } = raw['.Response_WarnList.ext'];
|
||||
ModeratorPersistence.warnList(warning);
|
||||
ModeratorPersistence.warnListOptions(warning);
|
||||
return;
|
||||
default:
|
||||
error = 'Failed to get warn list.';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue