0.3 #146

Merged
edraft merged 359 commits from 0.3 into master 2023-01-12 07:04:40 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 811e9991d0 - Show all commits

View File

@ -74,7 +74,7 @@ class AuthController:
await self._auth_service.add_auth_user_async(dto)
return '', 200
@Route.post(f'{BasePath}/register/<id>')
@Route.post(f'{BasePath}/register-by-id/<id>')
async def register_id(self, id: str):
result = await self._auth_service.confirm_email_async(id)
return jsonify(result)

View File

@ -80,7 +80,7 @@ export class AuthService {
}
confirmEMail(id: string): Observable<boolean> {
return this.http.post<boolean>(`${this.appsettings.getApiURL()}/api/auth/register/${id}`, {
return this.http.post<boolean>(`${this.appsettings.getApiURL()}/api/auth/register-by-id/${id}`, {
headers: new HttpHeaders({
'Content-Type': 'application/json'
})