You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Vue warn]: Invalid prop: type check failed forprop"torrent". Expected Object, got Null
at <TorrentActionCard class="top-8 md:sticky max-w-md" torrent=null onUpdated=fn<reloadTorrent> >
at <[infoHash] onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy(Object) {__v_skip: true} > >
at <Anonymous key="/torrent/1" routeProps= {Component: {…}, route: {…}} pageKey="/torrent/1" ... >
at <Anonymous >
at <RouterView name=undefined route=undefined >
at <NuxtPage>
at <App key=1 >
at <NuxtRoot>
The application tries to navigate to the details URL using the torrent id http://localhost:3000/v1/torrent/1 instead of the info-hash. There is a "TODO":
0f66834 fix: [#97] redirect to torrent details after upload (Jose Celano)
Pull request description:
The behavior was broken because the navigation (frontend router) used the torrent ID instead of the info-hash. But the API was not returning the info-hash after uploading a new torrent file.
The API was changed to return the info-hash too. And the API dependency was updated.
Top commit has no ACKs.
Tree-SHA512: c3c8c17fd8cbfc48ff37bc2566e1fb89db660b578d653fc4a35ece722f2b866ea28c7cf6f8fd6636c87de9a28463789cb0e8b4cfd2864d8134fc9d19e79f8019
After uploading a torrent, you get this error:
The application tries to navigate to the details URL using the torrent id
http://localhost:3000/v1/torrent/1
instead of the info-hash. There is a "TODO":We have to change the TypeScript wrapper for the backend API:
https://github.com/torrust/torrust-index-api-lib/blob/master/src/modes/rest/resources/torrent.ts#L56-L58
The backend is already returning the info-hash:
https://github.com/torrust/torrust-index-backend/blob/develop/src/web/api/v1/contexts/torrent/responses.rs#L11-L14
The text was updated successfully, but these errors were encountered: