Skip to content

Commit a46b22d

Browse files
committed
hotfix: remove 1000 data creation
1 parent 6c7cea6 commit a46b22d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

velog-backend/src/router/files/files.ctrl.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,6 @@ export const createGeneralSignedUrl: Middleware = async (ctx) => {
127127
image_path: imagePath,
128128
id: userImage.id,
129129
};
130-
131-
for (let i = 0; i < 1000; i += 1) {
132-
const img = UserImage.build({
133-
fk_user_id: userId,
134-
path: imagePath,
135-
});
136-
img.save();
137-
}
138130
} catch (e) {
139131
ctx.throw(500, e);
140132
}

0 commit comments

Comments
 (0)