bump version

This commit is contained in:
SrGooglo 2023-01-24 00:23:31 +00:00
parent 1687b2f6cf
commit 18653b0015
8 changed files with 11 additions and 8 deletions

View File

@ -1,3 +1,3 @@
{
"version": "0.39.2"
"version": "0.39.3"
}

View File

@ -23,5 +23,5 @@
"devDependencies": {
"concurrently": "^7.5.0"
},
"version": "0.39.2"
"version": "0.39.3"
}

View File

@ -1,6 +1,6 @@
{
"name": "comty",
"version": "0.39.2",
"version": "0.39.3",
"license": "LGPL-2.1",
"main": "electron/main",
"author": "RageStudio",

View File

@ -1,6 +1,6 @@
{
"name": "@comty/message_server",
"version": "0.39.2",
"version": "0.39.3",
"main": "dist/index.js",
"scripts": {
"build": "corenode-cli build",

View File

@ -1,6 +1,6 @@
{
"name": "@comty/music_spaces_server",
"version": "0.39.2",
"version": "0.39.3",
"main": "dist/index.js",
"scripts": {
"build": "corenode-cli build",

View File

@ -1,6 +1,6 @@
{
"name": "@comty/server",
"version": "0.39.2",
"version": "0.39.3",
"main": "dist/index.js",
"scripts": {
"build": "corenode-cli build",

View File

@ -20,7 +20,10 @@ export default class SecureSyncEntry {
throw new Error("Missing value")
}
let entry = await SyncEntry.findOne({ key }).catch(() => null)
let entry = await SyncEntry.findOne({
user_id,
key,
}).catch(() => null)
const encryptionKey = Buffer.from(process.env.SYNC_ENCRIPT_SECRET, "hex")
const iv = crypto.randomBytes(16)

View File

@ -1,6 +1,6 @@
{
"name": "wrapper",
"version": "0.39.2",
"version": "0.39.3",
"main": "./src/index.js",
"license": "MIT",
"scripts": {