Appease the linter
This commit is contained in:
parent
8fa56de2bb
commit
ad3c0d7f11
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ interface SetSelectedRequest {
|
|||
@Path("/api/v1/dimension/stickers")
|
||||
export class DimensionStickerService {
|
||||
|
||||
public static async getStickerPacks(enabledOnly: boolean = false): Promise<MemoryStickerPack[]> {
|
||||
public static async getStickerPacks(enabledOnly = false): Promise<MemoryStickerPack[]> {
|
||||
const cachedPacks = Cache.for(CACHE_STICKERS).get("packs");
|
||||
if (cachedPacks) {
|
||||
if (enabledOnly) return cachedPacks.filter(p => p.isEnabled);
|
||||
|
|
Loading…
Reference in a new issue