From a6011db4850aed32467f04cb348609fbb800accd Mon Sep 17 00:00:00 2001 From: Tolga Ozen Date: Sat, 27 Jan 2024 11:35:50 +0300 Subject: [PATCH 1/2] build: version info update --- docs/apidocs.swagger.json | 2 +- internal/info.go | 2 +- pkg/pb/base/v1/openapi.pb.go | 2 +- proto/base/v1/openapi.proto | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/apidocs.swagger.json b/docs/apidocs.swagger.json index e91ea4852..7f376793a 100644 --- a/docs/apidocs.swagger.json +++ b/docs/apidocs.swagger.json @@ -3,7 +3,7 @@ "info": { "title": "Permify API", "description": "Permify is an open source authorization service for creating fine-grained and scalable authorization systems.", - "version": "v0.7.1", + "version": "v0.7.2", "contact": { "name": "API Support", "url": "https://github.com/Permify/permify/issues", diff --git a/internal/info.go b/internal/info.go index 9a81ed730..8d12207b6 100644 --- a/internal/info.go +++ b/internal/info.go @@ -16,7 +16,7 @@ var Identifier = "" */ const ( // Version is the last release of the Permify (e.g. v0.1.0) - Version = "v0.7.1" + Version = "v0.7.2" // Banner is the view for terminal. Banner = ` diff --git a/pkg/pb/base/v1/openapi.pb.go b/pkg/pb/base/v1/openapi.pb.go index d3988d13a..a9dcd0cc0 100644 --- a/pkg/pb/base/v1/openapi.pb.go +++ b/pkg/pb/base/v1/openapi.pb.go @@ -46,7 +46,7 @@ var file_base_v1_openapi_proto_rawDesc = []byte{ 0x2f, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x66, 0x79, 0x2f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x66, 0x79, 0x2f, 0x62, 0x6c, 0x6f, 0x62, 0x2f, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2f, 0x4c, 0x49, 0x43, 0x45, 0x4e, 0x53, 0x45, - 0x32, 0x06, 0x76, 0x30, 0x2e, 0x37, 0x2e, 0x31, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, + 0x32, 0x06, 0x76, 0x30, 0x2e, 0x37, 0x2e, 0x32, 0x2a, 0x01, 0x02, 0x32, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x3a, 0x10, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x6a, 0x73, 0x6f, 0x6e, 0x5a, 0x23, 0x0a, 0x21, 0x0a, 0x0a, 0x41, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x41, 0x75, 0x74, 0x68, 0x12, diff --git a/proto/base/v1/openapi.proto b/proto/base/v1/openapi.proto index e1aa4be80..3e83959dd 100644 --- a/proto/base/v1/openapi.proto +++ b/proto/base/v1/openapi.proto @@ -9,7 +9,7 @@ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { info: { title: "Permify API"; description: "Permify is an open source authorization service for creating fine-grained and scalable authorization systems."; - version: "v0.7.1"; + version: "v0.7.2"; contact: { name: "API Support"; url: "https://github.com/Permify/permify/issues"; From 4b4b74a33d9468a8af5e2d55636d8dc94bf741bf Mon Sep 17 00:00:00 2001 From: Tolga Ozen Date: Sat, 27 Jan 2024 11:40:51 +0300 Subject: [PATCH 2/2] *: gofumpt --- internal/servers/dataServer.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/servers/dataServer.go b/internal/servers/dataServer.go index 02480bd16..b242c246c 100644 --- a/internal/servers/dataServer.go +++ b/internal/servers/dataServer.go @@ -92,7 +92,6 @@ func (r *DataServer) ReadAttributes(ctx context.Context, request *v1.AttributeRe snap := request.GetMetadata().GetSnapToken() if snap == "" { st, err := r.dr.HeadSnapshot(ctx, request.GetTenantId()) - if err != nil { return nil, status.Error(GetStatus(err), err.Error()) }