Skip to content

Commit 28170ba

Browse files
committed
Fix silly config typo
1 parent 8ef94fa commit 28170ba

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ functions:
288288
memorySize: 10240
289289
events:
290290
- eventBridge:
291-
name: abstractplay-${self:provider.stage}-records
291+
name: abstractplay-${self:provider.stage}-thumbnails
292292
description: Generates random thumbnails daily
293293
enabled: ${self:custom.scheduleEnabled.${self:provider.stage}}
294294
# 6am UTC daily (giving record generation plenty of time to complete)

utils/thumbnails.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
import { S3Client, GetObjectCommand, ListObjectsV2Command, PutObjectCommand, type _Object } from "@aws-sdk/client-s3";
44
import { Handler } from "aws-lambda";
55
import { GameFactory, addResource } from '@abstractplay/gameslib';
6-
import { type APGameRecord } from '@abstractplay/recranks';
76
import { gunzipSync, strFromU8 } from "fflate";
87
import { load as loadIon } from "ion-js";
98
import { ReservoirSampler } from "../lib/ReservoirSampler";
109
import i18n from 'i18next';
11-
import enGames from "@abstractplay/gameslib/locales/en/apgames.json";
10+
// import enGames from "@abstractplay/gameslib/locales/en/apgames.json";
1211
import enBack from "../locales/en/apback.json";
1312

1413
const REGION = "us-east-1";

0 commit comments

Comments
 (0)