fix: from || to ??

This commit is contained in:
Seijo Cecilia committed 2024-08-25 18:20:58 +08:00
1 parent 2a7f8d0c99
commit d5ff2d7099
1 file changed
+1 -1
+1 -1
View File
@@ -253,7 +253,7 @@ export class OneBotMsgApi {
msg.senderUid,
elementWrapper.elementId,
elementWrapper.elementType.toString(),
element.fileSize || '0',
element.fileSize ?? '0',
element.fileName,
);