Skip to content

Commit

Permalink
fix: playlist model response
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitkolhe committed Mar 16, 2024
1 parent 8973728 commit 3c4e831
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/playlists/controllers/playlist.controller.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { OpenAPIHono, createRoute, z } from '@hono/zod-openapi'
import { AlbumModel } from '#modules/albums/models'
import { PlaylistService } from '#modules/playlists/services'
import { PlaylistModel } from '#modules/playlists/models'

export class PlaylistController {
public controller: OpenAPIHono
Expand Down Expand Up @@ -54,8 +54,8 @@ export class PlaylistController {
type: 'boolean',
example: true
}),
data: AlbumModel.openapi({
title: 'Album Details',
data: PlaylistModel.openapi({
title: 'Playlist Details',
description: 'The detailed information of the playlist.'
})
})
Expand Down

0 comments on commit 3c4e831

Please sign in to comment.