Skip to content

Commit

Permalink
test: remove debu logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitkolhe committed Mar 31, 2024
1 parent 4afbe87 commit 23b8461
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ export class CreateSongStationUseCase implements IUseCase<string, string> {
context: 'android'
})

console.log({
songId,
data
})

if (!data || !ok || !data.stationid) throw new HTTPException(500, { message: 'could not create station' })

return data.stationid
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export class GetSongSuggestionsUseCase implements IUseCase<GetSongSuggestionsArg
async execute({ songId, limit }: GetSongSuggestionsArgs) {
const stationId = await this.createSongStation.execute(songId)

console.log({ stationId })
const { data, ok } = await useFetch<z.infer<typeof SongSuggestionAPIResponseModel>>({
endpoint: Endpoints.songs.suggestions,
params: {
Expand All @@ -32,8 +31,6 @@ export class GetSongSuggestionsUseCase implements IUseCase<GetSongSuggestionsArg
context: 'android'
})

console.log({ data })

if (!data || !ok) {
throw new HTTPException(404, { message: `no suggestions found for the given song` })
}
Expand Down

0 comments on commit 23b8461

Please sign in to comment.