mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
13 lines
293 B
TypeScript
13 lines
293 B
TypeScript
import { Injectable } from '@angular/core';
|
|
import { AuthService } from '../services/auth.service';
|
|
|
|
@Injectable({
|
|
providedIn: 'root'
|
|
})
|
|
export class UserDataResolver{
|
|
constructor(private authService: AuthService){}
|
|
|
|
resolve(){
|
|
return this.authService.getUserData();
|
|
}
|
|
} |