Added flask support #70 #75 #71

Merged
edraft merged 107 commits from #70 into 0.3 2022-11-05 13:55:42 +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'
})