X-Git-Url: http://git.rot13.org/?p=Biblio-RFID.git;a=blobdiff_plain;f=scripts%2FRFID-JSONP-server.pl;h=974a316911fe33f89002d566d59eabcc3ab35027;hp=5baff8590670f6ea9669887573dded26790a8a2b;hb=60d7c29357435918e04d82436fd64c4212934ed1;hpb=28e4aab986d5658c963db3cb53476f612053f8f6 diff --git a/scripts/RFID-JSONP-server.pl b/scripts/RFID-JSONP-server.pl index 5baff85..974a316 100755 --- a/scripts/RFID-JSONP-server.pl +++ b/scripts/RFID-JSONP-server.pl @@ -141,6 +141,7 @@ sub http_server { warn "ERROR ", dump($borrower); } else { $hash->{borrower} = $borrower->{borrower}; + $hash->{content} = $borrower->{borrower}->{cardnumber}; # compatibile with 3M tags } } else { $hash->{security} = uc unpack 'H*', $rfid->afi( $tag );