refactor 'Datei zu Vorgang hinzufügen': Add model files to existing cases
This commit is contained in:
@@ -39,6 +39,14 @@ export const getVorgang = function (caseId: string) {
|
||||
return res;
|
||||
};
|
||||
|
||||
export const getVorgangByName = function (caseName: string) {
|
||||
let getVorgangByName_stmt = `SELECT token, name, pw FROM cases WHERE name = ?`;
|
||||
const stmt = db.prepare(getVorgangByName_stmt);
|
||||
const res = stmt.get(caseName);
|
||||
|
||||
return res;
|
||||
};
|
||||
|
||||
/**
|
||||
* Fetches list of vorgänge from s3 bucket
|
||||
* @returns list of available cases
|
||||
|
||||
Reference in New Issue
Block a user