Help With Enchantments (again..)

{
    "description": "hi",
    "supported_items": "#minecraft:arrows",
    "weight": 1,
    "max_level": 1,
    "min_cost": {
      "base": 0,
      "per_level_above_first": 0
    },
    "max_cost": {
      "base": 0,
      "per_level_above_first": 0
   },
    "anvil_cost": 0,
    "slots": [
      "any"
    ],
    "effects": {
      "minecraft:post_attack": [
        {
          "effect": {
            "type": "minecraft:run_function",
            "function": "pack:arrows/ancient_arrow/hit"
          },
          "enchanted": "attacker",
          "affected": "attacker"
        }
      ]
    }
  }```

hello.. again :} litteraly why dosent this run a function when an arrow hits the entity.. there is nothing in the logs.. the file isnt capitolized.
Continue to help post