@@ -135,7 +135,7 @@ export const getAuthControllerRefreshResponseMock = (
135135} )
136136
137137export const getAuthControllerLoginMockHandler = ( overrideResponse ?: AuthEntity ) => {
138- return http . post ( '* /api/v1/auth/email/login' , async ( ) => {
138+ return http . post ( '/api/v1/auth/email/login' , async ( ) => {
139139 await delay ( 1000 )
140140 return new HttpResponse (
141141 JSON . stringify ( overrideResponse ? overrideResponse : getAuthControllerLoginResponseMock ( ) ) ,
@@ -150,7 +150,7 @@ export const getAuthControllerLoginMockHandler = (overrideResponse?: AuthEntity)
150150}
151151
152152export const getAuthControllerRegisterMockHandler = ( overrideResponse ?: UserEntity ) => {
153- return http . post ( '* /api/v1/auth/email/register' , async ( ) => {
153+ return http . post ( '/api/v1/auth/email/register' , async ( ) => {
154154 await delay ( 1000 )
155155 return new HttpResponse (
156156 JSON . stringify ( overrideResponse ? overrideResponse : getAuthControllerRegisterResponseMock ( ) ) ,
@@ -165,7 +165,7 @@ export const getAuthControllerRegisterMockHandler = (overrideResponse?: UserEnti
165165}
166166
167167export const getAuthControllerConfirmEmailMockHandler = ( ) => {
168- return http . post ( '* /api/v1/auth/email/confirm' , async ( ) => {
168+ return http . post ( '/api/v1/auth/email/confirm' , async ( ) => {
169169 await delay ( 1000 )
170170 return new HttpResponse ( null , {
171171 status : 200 ,
@@ -177,7 +177,7 @@ export const getAuthControllerConfirmEmailMockHandler = () => {
177177}
178178
179179export const getAuthControllerResendVerificationEmailMockHandler = ( ) => {
180- return http . post ( '* /api/v1/auth/email/resend' , async ( ) => {
180+ return http . post ( '/api/v1/auth/email/resend' , async ( ) => {
181181 await delay ( 1000 )
182182 return new HttpResponse ( null , {
183183 status : 200 ,
@@ -189,7 +189,7 @@ export const getAuthControllerResendVerificationEmailMockHandler = () => {
189189}
190190
191191export const getAuthControllerForgotPasswordMockHandler = ( ) => {
192- return http . post ( '* /api/v1/auth/forgot/password' , async ( ) => {
192+ return http . post ( '/api/v1/auth/forgot/password' , async ( ) => {
193193 await delay ( 1000 )
194194 return new HttpResponse ( null , {
195195 status : 200 ,
@@ -201,7 +201,7 @@ export const getAuthControllerForgotPasswordMockHandler = () => {
201201}
202202
203203export const getAuthControllerResetPasswordMockHandler = ( ) => {
204- return http . post ( '* /api/v1/auth/reset/password' , async ( ) => {
204+ return http . post ( '/api/v1/auth/reset/password' , async ( ) => {
205205 await delay ( 1000 )
206206 return new HttpResponse ( null , {
207207 status : 200 ,
@@ -213,7 +213,7 @@ export const getAuthControllerResetPasswordMockHandler = () => {
213213}
214214
215215export const getAuthControllerEmailChangeMockHandler = ( ) => {
216- return http . post ( '* /api/v1/auth/email/change' , async ( ) => {
216+ return http . post ( '/api/v1/auth/email/change' , async ( ) => {
217217 await delay ( 1000 )
218218 return new HttpResponse ( null , {
219219 status : 200 ,
@@ -225,7 +225,7 @@ export const getAuthControllerEmailChangeMockHandler = () => {
225225}
226226
227227export const getAuthControllerConfirmEmailChangeMockHandler = ( ) => {
228- return http . post ( '* /api/v1/auth/email/change-confirm' , async ( ) => {
228+ return http . post ( '/api/v1/auth/email/change-confirm' , async ( ) => {
229229 await delay ( 1000 )
230230 return new HttpResponse ( null , {
231231 status : 200 ,
@@ -237,7 +237,7 @@ export const getAuthControllerConfirmEmailChangeMockHandler = () => {
237237}
238238
239239export const getAuthControllerMeMockHandler = ( overrideResponse ?: UserEntity ) => {
240- return http . get ( '* /api/v1/auth/me' , async ( ) => {
240+ return http . get ( '/api/v1/auth/me' , async ( ) => {
241241 await delay ( 1000 )
242242 return new HttpResponse (
243243 JSON . stringify ( overrideResponse ? overrideResponse : getAuthControllerMeResponseMock ( ) ) ,
@@ -252,7 +252,7 @@ export const getAuthControllerMeMockHandler = (overrideResponse?: UserEntity) =>
252252}
253253
254254export const getAuthControllerUpdateMockHandler = ( ) => {
255- return http . patch ( '* /api/v1/auth/me' , async ( ) => {
255+ return http . patch ( '/api/v1/auth/me' , async ( ) => {
256256 await delay ( 1000 )
257257 return new HttpResponse ( null , {
258258 status : 200 ,
@@ -264,7 +264,7 @@ export const getAuthControllerUpdateMockHandler = () => {
264264}
265265
266266export const getAuthControllerDeleteMockHandler = ( ) => {
267- return http . delete ( '* /api/v1/auth/me' , async ( ) => {
267+ return http . delete ( '/api/v1/auth/me' , async ( ) => {
268268 await delay ( 1000 )
269269 return new HttpResponse ( null , {
270270 status : 200 ,
@@ -276,7 +276,7 @@ export const getAuthControllerDeleteMockHandler = () => {
276276}
277277
278278export const getAuthControllerRefreshMockHandler = ( overrideResponse ?: RefreshEntity ) => {
279- return http . post ( '* /api/v1/auth/refresh' , async ( ) => {
279+ return http . post ( '/api/v1/auth/refresh' , async ( ) => {
280280 await delay ( 1000 )
281281 return new HttpResponse (
282282 JSON . stringify ( overrideResponse ? overrideResponse : getAuthControllerRefreshResponseMock ( ) ) ,
@@ -291,7 +291,7 @@ export const getAuthControllerRefreshMockHandler = (overrideResponse?: RefreshEn
291291}
292292
293293export const getAuthControllerLogoutMockHandler = ( ) => {
294- return http . post ( '* /api/v1/auth/logout' , async ( ) => {
294+ return http . post ( '/api/v1/auth/logout' , async ( ) => {
295295 await delay ( 1000 )
296296 return new HttpResponse ( null , {
297297 status : 200 ,
@@ -303,7 +303,7 @@ export const getAuthControllerLogoutMockHandler = () => {
303303}
304304
305305export const getAuthControllerLogoutAllMockHandler = ( ) => {
306- return http . post ( '* /api/v1/auth/logout/all' , async ( ) => {
306+ return http . post ( '/api/v1/auth/logout/all' , async ( ) => {
307307 await delay ( 1000 )
308308 return new HttpResponse ( null , {
309309 status : 200 ,
0 commit comments