cube icon indicating copy to clipboard operation
cube copied to clipboard

Don't allow pins if there is no instances

Open victorb opened this issue 6 years ago • 0 comments

Previously, we disabled the pin page when no Instances were created before. When adding the auth feature, we removed this. We should add something similar back again as people could try to pin stuff without instances, leading to the following error:

Wed Feb 13 21:09:50 PST 2019 [worker-1] ERROR - POST /api/pins/QmXb2bKQdgNhC7vaiKQgXFtt7daUZD382L54UTTNXnwQTD/copy%20of%20ipld.io%20from%202019-02-14T05:09:20.493Z
java.net.MalformedURLException: no protocol: null/pins/QmXb2bKQdgNhC7vaiKQgXFtt7daUZD382L54UTTNXnwQTD?name=copy of ipld.io from 2019-02-14T05:09:20.493Z

victorb avatar Feb 14 '19 20:02 victorb