mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 03:47:40 -07:00
oops
This commit is contained in:
parent
b6c5644cd4
commit
fd91ad7df7
2 changed files with 14 additions and 2 deletions
|
@ -96,7 +96,7 @@ export default Vue.extend({
|
||||||
onNote(note) {
|
onNote(note) {
|
||||||
// サウンドを再生する
|
// サウンドを再生する
|
||||||
if ((this as any).os.isEnableSounds) {
|
if ((this as any).os.isEnableSounds) {
|
||||||
const sound = new Audio(`${url}/assets/note.mp3`);
|
const sound = new Audio(`${url}/assets/post.mp3`);
|
||||||
sound.volume = localStorage.getItem('soundVolume') ? parseInt(localStorage.getItem('soundVolume'), 10) / 100 : 1;
|
sound.volume = localStorage.getItem('soundVolume') ? parseInt(localStorage.getItem('soundVolume'), 10) / 100 : 1;
|
||||||
sound.play();
|
sound.play();
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,8 +50,20 @@ db.drive_files.files.renameCollection('driveFiles.files');
|
||||||
db.drive_files.chunks.renameCollection('driveFiles.chunks');
|
db.drive_files.chunks.renameCollection('driveFiles.chunks');
|
||||||
db.driveFiles.files.update({}, {
|
db.driveFiles.files.update({}, {
|
||||||
$rename: {
|
$rename: {
|
||||||
'metadata.user_id': 'metadata.userId',
|
'metadata.user_id': 'metadata.userId'
|
||||||
|
}
|
||||||
|
}, false, true);
|
||||||
|
db.driveFiles.files.update({
|
||||||
|
'metadata.folder_id': { $ne: null }
|
||||||
|
}, {
|
||||||
|
$rename: {
|
||||||
'metadata.folder_id': 'metadata.folderId',
|
'metadata.folder_id': 'metadata.folderId',
|
||||||
|
}
|
||||||
|
}, false, true);
|
||||||
|
db.driveFiles.files.update({
|
||||||
|
'metadata.properties.average_color': { $ne: null }
|
||||||
|
}, {
|
||||||
|
$rename: {
|
||||||
'metadata.properties.average_color': 'metadata.properties.avgColor'
|
'metadata.properties.average_color': 'metadata.properties.avgColor'
|
||||||
}
|
}
|
||||||
}, false, true);
|
}, false, true);
|
||||||
|
|
Loading…
Reference in a new issue