Skip to content

Commit b2ca9c8

Browse files
Merge pull request #360 from grycap/fix_localhost
Enable to read a service info to oscar user
2 parents 3812581 + c365526 commit b2ca9c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/handlers/read.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ func MakeReadHandler(back types.ServerlessBackend) gin.HandlerFunc {
6868
c.String(http.StatusForbidden, "User %s doesn't have permision to get this service", uid)
6969
return
7070
}
71+
} else {
72+
c.JSON(http.StatusOK, service)
7173
}
7274
}
7375
}

0 commit comments

Comments
 (0)