chore(web): generate API functions with a single argument (#2568)
This commit is contained in:
@@ -21,7 +21,9 @@
|
||||
const createSharedAlbum = async () => {
|
||||
try {
|
||||
const { data: newAlbum } = await api.albumApi.createAlbum({
|
||||
albumName: 'Untitled'
|
||||
createAlbumDto: {
|
||||
albumName: 'Untitled'
|
||||
}
|
||||
});
|
||||
|
||||
goto('/albums/' + newAlbum.id);
|
||||
|
||||
Reference in New Issue
Block a user