mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
@@ -52,6 +52,7 @@ export class FilesService extends ItemsService {
|
||||
const pipeline = sharp();
|
||||
|
||||
pipeline
|
||||
.rotate()
|
||||
.metadata()
|
||||
.then((meta) => {
|
||||
payload.width = meta.width;
|
||||
|
||||
Reference in New Issue
Block a user