1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-19 08:52:25 +01:00

fix variable name error

This commit is contained in:
Du Peng 2022-06-27 15:23:38 +02:00
parent a10f5e6bf7
commit cc8beb2d03

View File

@ -28,7 +28,7 @@ class API::ProofOfIdentityTypesController < API::ApiController
if @proof_of_identity_type.update(proof_of_identity_type_params)
render status: :ok
else
render json: @pack.errors.full_messages, status: :unprocessable_entity
render json: @proof_of_identity_type.errors.full_messages, status: :unprocessable_entity
end
end