Commit 62be6fe8 authored by Vladislav Bogac's avatar Vladislav Bogac

Revert "fixed"

This reverts commit 10c5ad52
parent 10c5ad52
export class BonusTokenMockService {
public getToken(): string{
return '';
import {Injectable} from '@angular/core';
import {HttpClient} from '@angular/common/http';
import {UserService} from '../../user/user.service';
import {DefaultSettings} from '../../../lib/default.settings';
import {Observable} from 'rxjs';
import {StorageKey} from '../../../lib/enums/enums';
providedIn: 'root'
export class BonusTokenService {
constructor(private http: HttpClient, private userService: UserService) {
public getBonusToken(): Observable<string> {
return this.http.get<string>(`${DefaultSettings.httpApiEndpoint}/member/token/bonus`, {
headers: {authorization: sessionStorage.getItem(StorageKey.QuizToken)},
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment