OOPSIE DOODLE (and fix it crying)
All checks were successful
Deploy Backend / deploy (push) Successful in 4m29s
Deploy Website / deploy (push) Successful in 7m9s

This commit is contained in:
Lee 2024-10-09 01:58:42 +01:00
parent 3b7b3b7e50
commit 8ec865d985
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { getModelForClass, prop, ReturnModelType } from "@typegoose/typegoose";
import { getModelForClass, modelOptions, prop, ReturnModelType, Severity } from "@typegoose/typegoose";
import { Document } from "mongoose";
import { PlayerHistory } from "@ssr/common/types/player/player-history";
import { formatDateMinimal, getDaysAgoDate, getMidnightAlignedDate } from "@ssr/common/utils/time-utils";
@ -6,6 +6,7 @@ import { formatDateMinimal, getDaysAgoDate, getMidnightAlignedDate } from "@ssr/
/**
* The model for a player.
*/
@modelOptions({ options: { allowMixed: Severity.ALLOW } })
export class Player {
/**
* The id of the player.

View File

@ -35,4 +35,4 @@ EXPOSE 3000
ENV HOSTNAME="0.0.0.0"
ENV PORT=3000
CMD ["bun", "run", "--filter", "backend", "start"]
CMD ["bun", "run", "--filter", "website", "start"]