correctly display Vorgangsname in Vorgang page
This commit is contained in:
@@ -27,6 +27,14 @@ export const getVorgangByCaseId = async (caseId: string) => {
|
||||
return list;
|
||||
};
|
||||
|
||||
export const getVorgang = function (caseId: string) {
|
||||
let getVorgang_stmt = `SELECT token, name, pw FROM cases WHERE token = ?`;
|
||||
const stmt = db.prepare(getVorgang_stmt);
|
||||
const res = stmt.get(caseId);
|
||||
|
||||
return res;
|
||||
};
|
||||
|
||||
/**
|
||||
* Fetches list of vorgänge from s3 bucket
|
||||
* @returns list of available cases
|
||||
|
||||
Reference in New Issue
Block a user