mirror of
https://github.com/natelandau/obsidian-metadata.git
synced 2025-11-16 17:03:48 -05:00
feat: add new tags (#16)
This commit is contained in:
committed by
Nathaniel Landau
parent
17985615b3
commit
d94d9f2197
@@ -165,7 +165,7 @@ class Vault:
|
||||
def add_metadata(
|
||||
self,
|
||||
area: MetadataType,
|
||||
key: str,
|
||||
key: str = None,
|
||||
value: str | list[str] = None,
|
||||
location: InsertLocation = None,
|
||||
) -> int:
|
||||
@@ -186,7 +186,7 @@ class Vault:
|
||||
num_changed = 0
|
||||
|
||||
for _note in self.notes_in_scope:
|
||||
if _note.add_metadata(area, key, value, location):
|
||||
if _note.add_metadata(area=area, key=key, value=value, location=location):
|
||||
num_changed += 1
|
||||
|
||||
if num_changed > 0:
|
||||
|
||||
Reference in New Issue
Block a user