Skip to content

Commit

Permalink
Fix wrong tenant protobuf decoder (#5)
Browse files Browse the repository at this point in the history
* fix

* Bump version
  • Loading branch information
Carminepo2 authored Aug 6, 2024
1 parent 474a300 commit f7d3593
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pagopa/interop-outbound-models",
"version": "1.0.1",
"version": "1.0.2",
"description": "PagoPA Interoperability outbound models",
"main": "dist",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/tenant/eventsV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const TenantEventV2 = z.discriminatedUnion("type", [
z.object({
event_version: z.literal(2),
type: z.literal("MaintenanceTenantPromotedToCertifier"),
data: protobufDecoder(TenantKindUpdatedV2),
data: protobufDecoder(MaintenanceTenantPromotedToCertifierV2),
stream_id: z.string(),
version: z.number(),
timestamp: z.coerce.date(),
Expand Down

0 comments on commit f7d3593

Please sign in to comment.