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