Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit 0badc0a

Browse files
committed
Merge branch 'main' into issue-9115
2 parents 828424f + 33d4e77 commit 0badc0a

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

CHANGELOG.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## [2.85.3](https://github.com/EddieHubCommunity/BioDrop/compare/v2.85.2...v2.85.3) (2023-11-10)
2+
3+
4+
### Bug Fixes
5+
6+
* profile settings domain ([#9758](https://github.com/EddieHubCommunity/BioDrop/issues/9758)) ([17d43e6](https://github.com/EddieHubCommunity/BioDrop/commit/17d43e6fb0095d96599e47f99e3a82a7b1840e9f))
7+
8+
9+
110
## [2.85.2](https://github.com/EddieHubCommunity/BioDrop/compare/v2.85.1...v2.85.2) (2023-11-08)
211

312

@@ -34,12 +43,3 @@
3443

3544

3645

37-
## [2.84.4](https://github.com/EddieHubCommunity/BioDrop/compare/v2.84.3...v2.84.4) (2023-11-05)
38-
39-
40-
### Bug Fixes
41-
42-
* navbar menu z-index issue in mobile dark mode ([#9732](https://github.com/EddieHubCommunity/BioDrop/issues/9732)) ([78c8079](https://github.com/EddieHubCommunity/BioDrop/commit/78c807939a88b3ae49d68b507112db8e9ed404af))
43-
44-
45-

config/app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "2.85.2",
2+
"version": "2.85.3",
33
"alerts": [],
44
"layouts": [
55
"classic",

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "biodrop",
3-
"version": "2.85.2",
3+
"version": "2.85.3",
44
"private": false,
55
"homepage": "https://biodrop.io",
66
"engines": {

pages/api/account/manage/settings.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@ export async function updateSettingsApi(context, username, data) {
112112
update.domain = update.domain.replaceAll(".", "|"); // TODO: use getter/setter instead
113113

114114
// check if domain is already used
115-
if (update.domain) {
115+
if (data.domain && data.domain !== beforeUpdate.domain) {
116116
const domainCheck = await Profile.findOne({
117117
"settings.domain": update.domain,
118118
});
119119
if (domainCheck) {
120-
const domainCheckError = `Domain "${update.domain}" is already in use for username: ${username}`;
120+
const domainCheckError = `Domain "${data.domain}" is already in use for username: ${username}`;
121121
log.error(domainCheckError);
122122
return { error: domainCheckError };
123123
}

0 commit comments

Comments
 (0)