Skip to content

Commit

Permalink
fix: add port to persisting properties in removeWrapperProperties met…
Browse files Browse the repository at this point in the history
…hod (#10)
  • Loading branch information
crystall-bitquill authored Mar 12, 2024
1 parent c1f71aa commit 8fe5805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lib/wrapper_property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class WrapperProperties {

static removeWrapperProperties<T>(config: T): T {
const copy = Object.assign({}, config);
const persistingProperties = [WrapperProperties.USER.name, WrapperProperties.PASSWORD.name, WrapperProperties.DATABASE.name];
const persistingProperties = [WrapperProperties.USER.name, WrapperProperties.PASSWORD.name, WrapperProperties.DATABASE.name, WrapperProperties.PORT.name];

Object.values(WrapperProperties).forEach((prop) => {
if (prop instanceof WrapperProperty) {
Expand Down

0 comments on commit 8fe5805

Please sign in to comment.