Compare commits
No commits in common. "833307d9e6ff135847e3277e567558c7dff8aa2f" and "6c3ee2911b916c022b413b636575ce6461a37e4e" have entirely different histories.
833307d9e6
...
6c3ee2911b
2 changed files with 2 additions and 6 deletions
|
@ -15,11 +15,7 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
branch: antifascista
|
branch: antifascista
|
||||||
event: push
|
event: push
|
||||||
path:
|
path: Dockerfile
|
||||||
include:
|
|
||||||
- ./Dockerfile
|
|
||||||
- ./.woodpecker.yml
|
|
||||||
ignore_message: '[all]'
|
|
||||||
matrix:
|
matrix:
|
||||||
ALPINE_VERSION:
|
ALPINE_VERSION:
|
||||||
- 3.13.6
|
- 3.13.6
|
||||||
|
|
|
@ -15,7 +15,7 @@ class ReadingsController < ActionController::API
|
||||||
reading = raspberry.readings.build reading_params
|
reading = raspberry.readings.build reading_params
|
||||||
reading.id = params[:transaction_uuid]
|
reading.id = params[:transaction_uuid]
|
||||||
# TODO: Verificar firma
|
# TODO: Verificar firma
|
||||||
reading.signature = request.headers[:'X-Signature']
|
reading.signature = headers[:'X-Signature']
|
||||||
|
|
||||||
params[:arduinos]&.each do |a|
|
params[:arduinos]&.each do |a|
|
||||||
arduino = reading.arduinos.build local_id: a[:id], raspberry: raspberry
|
arduino = reading.arduinos.build local_id: a[:id], raspberry: raspberry
|
||||||
|
|
Loading…
Reference in a new issue