clean up how note tags are used

This commit is contained in:
Robert Dyer
2025-05-06 09:56:07 -05:00
parent 6b26484486
commit 226c8cb5bd
5 changed files with 13 additions and 10 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ async function getRentCast(URL) {
let ownership = 1;
if (note.indexOf('ownership:') > -1) {
ownership = parseFloat(note.split('ownership:')[1].split(' ')[0]);
ownership = parseFloat(getTagValue(note, 'ownership'));
}
console.log('Fetching RentCast for account:', account.name);