Skip to content

Commit

Permalink
fix: import
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitkolhe committed Mar 16, 2024
1 parent f924036 commit d0537a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/songs/helpers/song.helper.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import type { z } from 'zod'
import type {
ArtistMapModel,
LyricsAPIResponseModel,
LyricsModel,
SongAPIResponseModel,
SongArtistMapAPIResponseModel,
SongArtistMapModel,
SongModel
} from '#modules/songs/models'
import { createDownloadLinks, createImageLinks } from '#common/helpers'

export const createArtistMap = (
artist: z.infer<typeof SongArtistMapAPIResponseModel>
): z.infer<typeof ArtistMapModel> => ({
): z.infer<typeof SongArtistMapModel> => ({
id: artist.id,
name: artist.name,
role: artist.role,
Expand Down

0 comments on commit d0537a4

Please sign in to comment.