Commit 3e3095d5 authored by nanahira's avatar nanahira

improve select

parent 572df71f
Pipeline #8570 passed with stages
in 2 minutes and 40 seconds
......@@ -31,6 +31,7 @@ export class AppService extends ConsoleLogger {
url,
size,
},
select: ['content'],
});
if (existingAvatar) {
return existingAvatar.toBuffer();
......@@ -42,6 +43,7 @@ export class AppService extends ConsoleLogger {
url,
size: 0,
},
select: ['content'],
});
if (originalAvatar) {
originalAvatarBuffer = originalAvatar.toBuffer();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment