Skip to content

Commit

Permalink
re-order
Browse files Browse the repository at this point in the history
  • Loading branch information
ledyba committed May 10, 2022
1 parent 55b60cd commit 7881777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/shelf/Shelf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ class Shelf {
let newEntity: Entity;
switch (entity.type) {
case 'image': {
const mediumID = await this.storage.medium.upload(mediumPath);
await resizeImage(originalPath, mediumPath, 2048);
const iconID = await this.storage.icon.upload(iconPath);
const mediumID = await this.storage.medium.upload(mediumPath);
await makeImageIcon(originalPath, iconPath, 256);
const iconID = await this.storage.icon.upload(iconPath);
newEntity = {
type: 'image',
id: entity.id,
Expand Down

0 comments on commit 7881777

Please sign in to comment.