feat(rfid): work on the readers and there functions
This commit is contained in:
@@ -8,6 +8,12 @@ import type { TagData } from "../tagData.js";
|
||||
import { tagStuff } from "../tags/crudTag.js";
|
||||
|
||||
export const station3Tags = async (tagData: TagData[]) => {
|
||||
createLog(
|
||||
"info",
|
||||
"rfid",
|
||||
"rfid",
|
||||
`${tagData[0].reader} has a ${tagData[0].tag} will post it :)`
|
||||
);
|
||||
// make sure we only have one tag or dont update
|
||||
if (tagData.length != 1) {
|
||||
createLog(
|
||||
|
||||
Reference in New Issue
Block a user