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

Commit

Permalink
Merge branch 'main' into feat-pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Nov 10, 2023
2 parents e4c630d + 33d4e77 commit b2af018
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
18 changes: 9 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [2.85.3](https://github.com/EddieHubCommunity/BioDrop/compare/v2.85.2...v2.85.3) (2023-11-10)


### Bug Fixes

* profile settings domain ([#9758](https://github.com/EddieHubCommunity/BioDrop/issues/9758)) ([17d43e6](https://github.com/EddieHubCommunity/BioDrop/commit/17d43e6fb0095d96599e47f99e3a82a7b1840e9f))



## [2.85.2](https://github.com/EddieHubCommunity/BioDrop/compare/v2.85.1...v2.85.2) (2023-11-08)


Expand Down Expand Up @@ -34,12 +43,3 @@



## [2.84.4](https://github.com/EddieHubCommunity/BioDrop/compare/v2.84.3...v2.84.4) (2023-11-05)


### Bug Fixes

* 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))



2 changes: 1 addition & 1 deletion config/app.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "2.85.2",
"version": "2.85.3",
"alerts": [],
"layouts": [
"classic",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "biodrop",
"version": "2.85.2",
"version": "2.85.3",
"private": false,
"homepage": "https://biodrop.io",
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions pages/api/account/manage/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ export async function updateSettingsApi(context, username, data) {
update.domain = update.domain.replaceAll(".", "|"); // TODO: use getter/setter instead

// check if domain is already used
if (update.domain) {
if (data.domain && data.domain !== beforeUpdate.domain) {
const domainCheck = await Profile.findOne({
"settings.domain": update.domain,
});
if (domainCheck) {
const domainCheckError = `Domain "${update.domain}" is already in use for username: ${username}`;
const domainCheckError = `Domain "${data.domain}" is already in use for username: ${username}`;
log.error(domainCheckError);
return { error: domainCheckError };
}
Expand Down

0 comments on commit b2af018

Please sign in to comment.