Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/setupHouseData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function setup() {
tiktok:
"https://www.tiktok.com/@baanjochula2025?_t=ZS-8xfBBeOKdx1&_r=1",
sizeLetter: "XL",
capacity: 792,
capacity: 594,
},

{
Expand Down Expand Up @@ -141,7 +141,7 @@ async function setup() {
instagram: "https://www.instagram.com/baankoom.chula/",
tiktok: "https://www.tiktok.com/@baankoom.chula",
sizeLetter: "XL",
capacity: 532,
capacity: 399,
},

{
Expand Down Expand Up @@ -306,7 +306,7 @@ async function setup() {
tiktok:
"https://www.tiktok.com/@baansoeiteelheemouy?_t=ZS-8xir5hmUlzW&_r=1",
sizeLetter: "XL",
capacity: 784,
capacity: 588,
},

{
Expand Down
4 changes: 4 additions & 0 deletions src/usecase/rpkm/rpkmUsecase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export class RpkmUsecase {
);
}

if (body.workshopType === WorkshopType.DIFFUSER) {
throw new AppError("เต็มละครับน้อง.", 400);
}

// max 100 participants per workshop time slot
const timeSlotParticipantCount =
await this.rpkmRepository.getWorkshopParticipantCountsByTypeAndTime(
Expand Down