This repository was archived by the owner on Feb 18, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export class ContactClient extends BaseClient {
2929 createMessage (
3030 request : CreateContactMessageRequest
3131 ) : Promise < AxiosResponse < ContactMessageResponse > > {
32- const url = `${ this . config . host } /mail` ;
32+ const url = `${ this . config . host } /contact/ mail` ;
3333 const config = axiosRequestConfig ( request ) ;
3434
3535 return this . axiosInstance . post < ContactMessageResponse > (
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { ContactClient } from "./contact/client";
33import { SecurityClient } from "./security/client" ;
44
55const defaultConfig : ClientConfig = {
6- host : "https://b623pa888e.execute- api.us-east-2.amazonaws.com/api " ,
6+ host : "https://api.justinsexton.net " ,
77} ;
88
99export class PortfolioClient {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export class SecurityClient extends BaseClient {
2626 }
2727
2828 login ( request : LoginRequest ) : Promise < AxiosResponse < LoginResponse > > {
29- const url = `${ this . config . host } /login` ;
29+ const url = `${ this . config . host } /security/ login` ;
3030 const config = axiosRequestConfig ( request ) ;
3131
3232 return this . axiosInstance . post < LoginResponse > ( url , request . body , config ) ;
@@ -35,7 +35,7 @@ export class SecurityClient extends BaseClient {
3535 confirmAccount (
3636 request : UpdatePasswordRequest
3737 ) : Promise < AxiosResponse < LoginResponse > > {
38- const url = `${ this . config . host } /confirm-account` ;
38+ const url = `${ this . config . host } /security/ confirm-account` ;
3939 const config = axiosRequestConfig ( request ) ;
4040
4141 return this . axiosInstance . post < LoginResponse > ( url , request . body , config ) ;
You can’t perform that action at this time.
0 commit comments