Updates
This commit is contained in:
parent
ed6b49847f
commit
f112cf0912
9 changed files with 160 additions and 132 deletions
|
|
@ -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(),
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -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: "",
|
||||
|
|
|
|||
Loading…
Reference in a new issue