We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8346b1 commit a7a4f5fCopy full SHA for a7a4f5f
backend/routes/api/patients.js
@@ -176,7 +176,9 @@ const modifyFileName = async (filename, data) => {
176
if (filename.includes('.')) {
177
file = filename.split('.')[0];
178
suffix = '.' + filename.split('.')[1];
179
- } else file = filename;
+ } else {
180
+ file = filename;
181
+ }
182
if (data.filter((e) => e.filename === filename).length > 0) {
183
var numPrev = 1;
184
while (
0 commit comments