Skip to content

Commit

Permalink
[#235] fixed "deprecated" typo
Browse files Browse the repository at this point in the history
  • Loading branch information
heloineto committed Aug 27, 2023
1 parent 613f0c5 commit 5b2a992
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions src/services/AdminService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class AdminService extends CrudService<AdminModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of authWithPassword(email, pass, body?, query?) is depreacted. Consider replacing it with authWithPassword(email, pass, options?).',
'This form of authWithPassword(email, pass, body?, query?) is deprecated. Consider replacing it with authWithPassword(email, pass, options?).',
options,
bodyOrOptions,
query
Expand Down Expand Up @@ -147,7 +147,7 @@ export class AdminService extends CrudService<AdminModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of authRefresh(body?, query?) is depreacted. Consider replacing it with authRefresh(options?).',
'This form of authRefresh(body?, query?) is deprecated. Consider replacing it with authRefresh(options?).',
options,
bodyOrOptions,
query
Expand Down Expand Up @@ -177,7 +177,7 @@ export class AdminService extends CrudService<AdminModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of requestPasswordReset(email, body?, query?) is depreacted. Consider replacing it with requestPasswordReset(email, options?).',
'This form of requestPasswordReset(email, body?, query?) is deprecated. Consider replacing it with requestPasswordReset(email, options?).',
options,
bodyOrOptions,
query
Expand Down Expand Up @@ -209,7 +209,7 @@ export class AdminService extends CrudService<AdminModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of confirmPasswordReset(resetToken, password, passwordConfirm, body?, query?) is depreacted. Consider replacing it with confirmPasswordReset(resetToken, password, passwordConfirm, options?).',
'This form of confirmPasswordReset(resetToken, password, passwordConfirm, body?, query?) is deprecated. Consider replacing it with confirmPasswordReset(resetToken, password, passwordConfirm, options?).',
options,
bodyOrOptions,
query
Expand Down
18 changes: 9 additions & 9 deletions src/services/RecordService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ export class RecordService extends CrudService<RecordModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of authWithPassword(usernameOrEmail, pass, body?, query?) is depreacted. Consider replacing it with authWithPassword(usernameOrEmail, pass, options?).',
'This form of authWithPassword(usernameOrEmail, pass, body?, query?) is deprecated. Consider replacing it with authWithPassword(usernameOrEmail, pass, options?).',
options,
bodyOrOptions,
query
Expand Down Expand Up @@ -399,7 +399,7 @@ export class RecordService extends CrudService<RecordModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of authWithOAuth2Code(provider, code, codeVerifier, redirectUrl, createData?, body?, query?) is depreacted. Consider replacing it with authWithOAuth2Code(provider, code, codeVerifier, redirectUrl, createData?, options?).',
'This form of authWithOAuth2Code(provider, code, codeVerifier, redirectUrl, createData?, body?, query?) is deprecated. Consider replacing it with authWithOAuth2Code(provider, code, codeVerifier, redirectUrl, createData?, options?).',
options,
bodyOrOptions,
query
Expand Down Expand Up @@ -582,7 +582,7 @@ export class RecordService extends CrudService<RecordModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of authRefresh(body?, query?) is depreacted. Consider replacing it with authRefresh(options?).',
'This form of authRefresh(body?, query?) is deprecated. Consider replacing it with authRefresh(options?).',
options,
bodyOrOptions,
query
Expand Down Expand Up @@ -612,7 +612,7 @@ export class RecordService extends CrudService<RecordModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of requestPasswordReset(email, body?, query?) is depreacted. Consider replacing it with requestPasswordReset(email, options?).',
'This form of requestPasswordReset(email, body?, query?) is deprecated. Consider replacing it with requestPasswordReset(email, options?).',
options,
bodyOrOptions,
query
Expand Down Expand Up @@ -660,7 +660,7 @@ export class RecordService extends CrudService<RecordModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of confirmPasswordReset(token, password, passwordConfirm, body?, query?) is depreacted. Consider replacing it with confirmPasswordReset(token, password, passwordConfirm, options?).',
'This form of confirmPasswordReset(token, password, passwordConfirm, body?, query?) is deprecated. Consider replacing it with confirmPasswordReset(token, password, passwordConfirm, options?).',
options,
bodyOrOptions,
query
Expand Down Expand Up @@ -690,7 +690,7 @@ export class RecordService extends CrudService<RecordModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of requestVerification(email, body?, query?) is depreacted. Consider replacing it with requestVerification(email, options?).',
'This form of requestVerification(email, body?, query?) is deprecated. Consider replacing it with requestVerification(email, options?).',
options,
bodyOrOptions,
query
Expand Down Expand Up @@ -720,7 +720,7 @@ export class RecordService extends CrudService<RecordModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of confirmVerification(token, body?, query?) is depreacted. Consider replacing it with confirmVerification(token, options?).',
'This form of confirmVerification(token, body?, query?) is deprecated. Consider replacing it with confirmVerification(token, options?).',
options,
bodyOrOptions,
query
Expand Down Expand Up @@ -750,7 +750,7 @@ export class RecordService extends CrudService<RecordModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of requestEmailChange(newEmail, body?, query?) is depreacted. Consider replacing it with requestEmailChange(newEmail, options?).',
'This form of requestEmailChange(newEmail, body?, query?) is deprecated. Consider replacing it with requestEmailChange(newEmail, options?).',
options,
bodyOrOptions,
query
Expand Down Expand Up @@ -782,7 +782,7 @@ export class RecordService extends CrudService<RecordModel> {
};

options = normalizeLegacyOptionsArgs(
'This form of confirmEmailChange(token, password, body?, query?) is depreacted. Consider replacing it with confirmEmailChange(token, password, options?).',
'This form of confirmEmailChange(token, password, body?, query?) is deprecated. Consider replacing it with confirmEmailChange(token, password, options?).',
options,
bodyOrOptions,
query
Expand Down

0 comments on commit 5b2a992

Please sign in to comment.