Skip to content

Commit e1f6a55

Browse files
committed
Clarify request memento exclusions
1 parent b2bae06 commit e1f6a55

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

models/Subscriptions.cfc

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -242,16 +242,18 @@ component singleton accessors="true" {
242242
var memento = arguments.response.getMemento();
243243
memento[ "request" ] = arguments.response
244244
.getRequest()
245-
.getMemento( [
246-
"authType",
247-
"clientCert",
248-
"clientCertPassword",
249-
"domain",
250-
"headers",
251-
"password",
252-
"username",
253-
"workstation"
254-
] );
245+
.getMemento(
246+
excludes = [
247+
"authType",
248+
"clientCert",
249+
"clientCertPassword",
250+
"domain",
251+
"headers",
252+
"password",
253+
"username",
254+
"workstation"
255+
]
256+
);
255257
return {
256258
"subscriber": arguments.subscriberEmail,
257259
"success": arguments.response.isSuccess(),

0 commit comments

Comments
 (0)