This commit is contained in:
oitsjustjose 2023-04-29 20:35:37 -05:00
commit f112cf0912
9 changed files with 160 additions and 132 deletions

View file

@ -36,7 +36,6 @@ export default async (req: Request, res: Response) => {
githubPat: fern.encrypt(req.body.githubPat),
curseforgeSlug: req.body.curseforgeSlug,
modrinthId: req.body.modrinthId,
delimiter: req.body.delimiter || "-",
queuePlace: await getNextQueuePlace(),
});

View file

@ -7,7 +7,6 @@ export type JobType = Document & {
githubPat: string;
curseforgeSlug: string;
modrinthId: string;
delimiter: string;
logs: string;
status: number;
queuePlace: number;
@ -31,10 +30,6 @@ const JobSchema = new Schema<JobType>({
type: String,
required: true,
},
delimiter: {
type: String,
required: true,
},
logs: {
type: String,
default: "",