Skip to content

Commit

Permalink
URL constants moved from the registration model to a global constants…
Browse files Browse the repository at this point in the history
… list.
  • Loading branch information
pozitronik committed Dec 11, 2023
1 parent 88ff63f commit 39de4d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions forms/Registration.pas
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ interface
ConnectionSettings,
Vcl.Imaging.JPEG;

const
MAILRU_REGISTRATION_SIGNUP = 'https://account.mail.ru/api/v1/user/signup';
MAILRU_REGISTRATION_CONFIRM = 'https://account.mail.ru/api/v1/user/signup/confirm';
MAILRU_CAPTCHA = 'https://c.mail.ru/c/6';

type
TRegistrationForm = class(TForm)
Expand Down
4 changes: 4 additions & 0 deletions types/CMRConstants.pas
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ interface
API_CLONE = 'https://cloud.mail.ru/api/v2/clone';
API_INVITE_REJECT = 'https://cloud.mail.ru/api/v2/folder/invites/reject';

MAILRU_REGISTRATION_SIGNUP = 'https://account.mail.ru/api/v1/user/signup';
MAILRU_REGISTRATION_CONFIRM = 'https://account.mail.ru/api/v1/user/signup/confirm';
MAILRU_CAPTCHA = 'https://c.mail.ru/c/6';

TYPE_DIR = 'folder';
TYPE_FILE = 'file';

Expand Down

0 comments on commit 39de4d8

Please sign in to comment.