Skip to content

Commit

Permalink
add curly bois
Browse files Browse the repository at this point in the history
  • Loading branch information
gwang0136 committed Apr 23, 2021
1 parent a8346b1 commit a7a4f5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/routes/api/patients.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ const modifyFileName = async (filename, data) => {
if (filename.includes('.')) {
file = filename.split('.')[0];
suffix = '.' + filename.split('.')[1];
} else file = filename;
} else {
file = filename;
}
if (data.filter((e) => e.filename === filename).length > 0) {
var numPrev = 1;
while (
Expand Down

0 comments on commit a7a4f5f

Please sign in to comment.