Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix(registry:search)
  • Loading branch information
mkucharz committed Jan 28, 2018
commit 1dd2f2194deb0b56ff48d5ffebda33e55974e237
2 changes: 1 addition & 1 deletion packages/registry/syncano/registry/src/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default async (ctx) => {
debug(`Found ${group.length} sockets in a group`)
group.forEach(socket => {
// That way we will have always newest version on top
if (!socket.private || (socket.owner_account === user.id)) {
if (!socket.private || (user && socket.owner_account === user.id)) {
allSocketsDict[socket.name] = socket
}
})
Expand Down