fix(*): images do work
This commit is contained in:
@@ -43,7 +43,7 @@ export const clear = mutation({
|
||||
.collect();
|
||||
|
||||
for (const message of messages) {
|
||||
if (args.preserveImages && message.imageStorageId) {
|
||||
if (args.preserveImages && message.imageBase64) {
|
||||
continue;
|
||||
}
|
||||
await ctx.db.delete(message._id);
|
||||
|
||||
Reference in New Issue
Block a user