Skip to content

Commit

Permalink
add id
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagahbond committed Jul 5, 2022
1 parent 35c9ee9 commit 1fafe02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ services:
depends_on:
- mongodb
ports:
- "8081:8081"
- "8086:8081"
restart: always
env_file:
- docker.env
Expand Down
1 change: 1 addition & 0 deletions src/fp-searches/fp-searches.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export class FpSearchesService {
return {
filename: fpSearch.filename,
takenTime: fpSearch.takenTime,
id: fpSearch._id.toString(),
foundTrack: fpSearch.foundTrack
? {
id: fpSearch.foundTrack._id,
Expand Down
1 change: 1 addition & 0 deletions src/fp-searches/interfaces/fp-search-response.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ export interface IFpSearchResponse {
foundTrack?: ITrackResponse;
takenTime?: number;
filename: string;
id: string;
}

0 comments on commit 1fafe02

Please sign in to comment.