fix /secure to use new API
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 3 Aug 2010 10:34:03 +0000 (12:34 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 3 Aug 2010 10:34:03 +0000 (12:34 +0200)
scripts/RFID-JSONP-server.pl

index 43a5920..2ff919a 100755 (executable)
@@ -137,7 +137,7 @@ sub http_server {
                                        $status = 302;
 
                                        warn "SECURE $tag $data\n";
-                                       secure_tag_with( $tag, $data );
+                                       $rfid->write_afi( $tag => hex($data) );
                                }
 
                                if ( $json ) {