Skip to content

Commit

Permalink
change locker number import to type to string
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump committed Aug 9, 2024
1 parent a81762d commit 967cdcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/admin/adminImportData.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {parse} from 'csv-parse';
//todo we want to add a status filed to the locker locator, implement that here
const formatLockerData = (obj) => {
const result = {};
result.Num = parseInt(obj.Num);
result.Num = obj.Num;
result.Location = {
Building: parseInt(obj.Building),
Level: obj.Level,
Expand Down

0 comments on commit 967cdcb

Please sign in to comment.