From e4ac781b54e5b6e92244c4d25121a4de9848e29e Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Fri, 20 Sep 2024 16:58:39 +0200 Subject: [PATCH] fix(rnf): remove deprecated status attribute --- app/models/champs/rnf_champ.rb | 2 +- app/schemas/rnf.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/champs/rnf_champ.rb b/app/models/champs/rnf_champ.rb index 9ebabe1b0..56850c55f 100644 --- a/app/models/champs/rnf_champ.rb +++ b/app/models/champs/rnf_champ.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class Champs::RNFChamp < Champ - store_accessor :data, :title, :email, :phone, :createdAt, :updatedAt, :dissolvedAt, :address, :status + store_accessor :data, :title, :email, :phone, :createdAt, :updatedAt, :dissolvedAt, :address def rnf_id external_id&.gsub(/[[:space:]]/, '') diff --git a/app/schemas/rnf.json b/app/schemas/rnf.json index 866821090..b17244751 100644 --- a/app/schemas/rnf.json +++ b/app/schemas/rnf.json @@ -30,7 +30,6 @@ "regionName":{ "type": "string" }, "regionCode":{ "type": "string" } }, - "status": { "type": ["string", "null"] }, "persons": { "type": "array" } } }