Skip to content

Commit

Permalink
Fix alignments, empty lines and interceptor typo JC-642
Browse files Browse the repository at this point in the history
  • Loading branch information
sherstkov committed Jul 24, 2024
1 parent 046a80c commit 8bf0180
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class ApiKeyInterceptor implements HttpInterceptor {

/** Add a new API key header to the request. */
const apiKeyReq = req.clone({
headers: req.headers.set('Api-key', 'this.appConfig.apiKey'),
headers: req.headers.set('Api-key', this.appConfig.apiKey),
});

/** Send cloned request with header to the next handler. */
Expand Down
5 changes: 0 additions & 5 deletions apps/angular/src/core/services/anime.service.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
import { inject, Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';

import { Anime } from '@js-camp/core/models/anime';

import { AnimeDto } from '@js-camp/core/dtos/anime.dto';

import { map, Observable } from 'rxjs';

import { AnimeMapper } from '@js-camp/core/mappers/anime.mapper';

import { PaginationDto } from '@js-camp/core/dtos/pagination.dto';

import { ApiUrlService } from './api-url.service';
Expand Down
2 changes: 1 addition & 1 deletion apps/angular/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
</head>
<body>
<camp-root></camp-root>
</body>
Expand Down

0 comments on commit 8bf0180

Please sign in to comment.