Fix artist path

This commit is contained in:
jeffvli 2023-04-23 14:25:09 -07:00
parent 438085633b
commit fa79b4cbe0

View file

@ -42,14 +42,14 @@ export const contract = c.router({
}, },
getAlbumArtistDetail: { getAlbumArtistDetail: {
method: 'GET', method: 'GET',
path: 'albumArtist/:id', path: 'artist/:id',
responses: { responses: {
200: resultWithHeaders(ndType._response.albumArtist), 200: resultWithHeaders(ndType._response.albumArtist),
}, },
}, },
getAlbumArtistList: { getAlbumArtistList: {
method: 'GET', method: 'GET',
path: 'albumArtist', path: 'artist',
query: ndType._parameters.albumArtistList, query: ndType._parameters.albumArtistList,
responses: { responses: {
200: resultWithHeaders(ndType._response.albumArtistList), 200: resultWithHeaders(ndType._response.albumArtistList),