Compare commits
2 Commits
d05776ad3a
...
20c273407f
| Author | SHA1 | Date | |
|---|---|---|---|
| 20c273407f | |||
| d5b39575c7 |
@@ -6,7 +6,7 @@ import { client } from '$lib/minio';
|
||||
* @returns {Promise<boolean>}
|
||||
*/
|
||||
export default async function caseNumberOccupied(caseNumber) {
|
||||
const prefix = `${caseNumber}/config.json`;
|
||||
const prefix = `${caseNumber}`;
|
||||
const promise = new Promise((resolve) => {
|
||||
let stream = client.listObjectsV2('tatort', prefix, false, '');
|
||||
stream.on('data', () => {
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
async function case_exists(case_no) {
|
||||
|
||||
if (case_no == '') {
|
||||
zuganscode = zugangscode_old;
|
||||
zugangscode = zugangscode_old;
|
||||
}
|
||||
|
||||
// ping `/view` with caseNumber in POST body
|
||||
|
||||
Reference in New Issue
Block a user