mirror of
https://github.com/Burn-E99/TheArtificer.git
synced 2026-01-08 21:37:54 -05:00
DB Added
Optional logging of rolls added API Key Verification Added API Authorization/Authentication Added
This commit is contained in:
1
src/solver.d.ts
vendored
1
src/solver.d.ts
vendored
@ -23,6 +23,7 @@ export type SolvedStep = {
|
||||
export type SolvedRoll = {
|
||||
error: boolean,
|
||||
errorMsg: string,
|
||||
errorCode: string,
|
||||
line1: string,
|
||||
line2: string,
|
||||
line3: string
|
||||
|
||||
@ -725,6 +725,7 @@ const parseRoll = (fullCmd: string, localPrefix: string, localPostfix: string, m
|
||||
const returnmsg = {
|
||||
error: false,
|
||||
errorMsg: "",
|
||||
errorCode: "",
|
||||
line1: "",
|
||||
line2: "",
|
||||
line3: ""
|
||||
@ -960,6 +961,7 @@ const parseRoll = (fullCmd: string, localPrefix: string, localPostfix: string, m
|
||||
|
||||
// Fill in the return block
|
||||
returnmsg.error = true;
|
||||
returnmsg.errorCode = solverError.message;
|
||||
returnmsg.errorMsg = errorMsg;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user