A decentralized music tracking and discovery platform built on AT Protocol 🎵

[api] fix artist album not created

+7
apps/api/src/schema/dropbox-directories.ts

This is a binary file and will not be displayed.

apps/api/src/schema/dropbox-paths.ts

This is a binary file and will not be displayed.

apps/api/src/schema/google-drive-directories.ts

This is a binary file and will not be displayed.

apps/api/src/schema/google-drive-paths.ts

This is a binary file and will not be displayed.

+7
apps/api/src/tracks/tracks.service.ts
··· 152 152 }); 153 153 } 154 154 155 + if (!artist_album) { 156 + await ctx.client.db.artist_albums.create({ 157 + artist_id: artist_id.xata_id, 158 + album_id: album_id.xata_id, 159 + }); 160 + } 161 + 155 162 if (track_id && !track_id.album_uri) { 156 163 await ctx.client.db.tracks.update(track_id.xata_id, { 157 164 album_uri: album_id.uri,