mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-07 01:54:16 +01:00
fix variable name error
This commit is contained in:
parent
9f7504dfe9
commit
35cc5ed149
@ -28,7 +28,7 @@ class API::ProofOfIdentityTypesController < API::ApiController
|
|||||||
if @proof_of_identity_type.update(proof_of_identity_type_params)
|
if @proof_of_identity_type.update(proof_of_identity_type_params)
|
||||||
render status: :ok
|
render status: :ok
|
||||||
else
|
else
|
||||||
render json: @pack.errors.full_messages, status: :unprocessable_entity
|
render json: @proof_of_identity_type.errors.full_messages, status: :unprocessable_entity
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user