mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
14 lines
138 B
JavaScript
14 lines
138 B
JavaScript
db.posts.update({
|
|
$or: [{
|
|
mediaIds: null
|
|
}, {
|
|
mediaIds: {
|
|
$exist: false
|
|
}
|
|
}]
|
|
}, {
|
|
$set: {
|
|
mediaIds: []
|
|
}
|
|
}, false, true);
|