NFT sold to another wallet but data is not updating

owner on polygonscan (correct)
https://polygonscan.com/token/0x8c0d8685afeaf558f271fd78e75e647f6357869b?a=72565286#inventory

Owner according to NFT details API (completely incorrect?)

curl -X 'GET' \
  'https://deep-index.moralis.io/api/v2/nft/0x8c0d8685afeaf558f271fd78e75e647f6357869b/72565286?chain=polygon&format=decimal' \
  -H 'accept: application/json' \
  -H 'X-API-Key: ###'
{
  "token_address": "0x8c0d8685afeaf558f271fd78e75e647f6357869b",
  "token_id": "72565286",
  "block_number_minted": null,
  "owner_of": "0x0000000000000000000000000000000000000000",
  "block_number": null,
  "amount": "0",
  "contract_type": "ERC721",
  "name": "NFTsApp",
  "symbol": "NFTsApp9",
  "token_uri": "https://ipfs.io/ipfs/bafkreihmtbuvgvcbp7sjlmc5pt34q527ea7d5btrrtmoaplvgr56tffybe",
  "metadata": "{\"name\": \"Juice\", \"description\": \"Test\", \"image\": \"https://firebasestorage.googleapis.com/v0/b/notifier-8eaa1.appspot.com/o/NFTs%2F1638959164261.png?alt=media\"}",
  "synced_at": "2021-12-08T10:35:28.227Z",
  "is_valid": 1,
  "syncing": 2,
  "frozen": 0
}

Owner according to wallet details API (incorrect - showโ€™s the previous owner before the NFT was sold 18 hours before this API call)

curl -X 'GET' \
  'https://deep-index.moralis.io/api/v2/0xFead9b6599cf2868F1A578C241Eab228B95331B8/nft?chain=polygon&format=decimal' \
  -H 'accept: application/json' \
  -H 'X-API-Key: ###'
    {
      "token_address": "0x8c0d8685afeaf558f271fd78e75e647f6357869b",
      "token_id": "72565286",
      "block_number_minted": null,
      "owner_of": "0xfead9b6599cf2868f1a578c241eab228b95331b8",
      "block_number": null,
      "amount": "0",
      "contract_type": "ERC721",
      "name": "NFTsApp",
      "symbol": "NFTsApp9",
      "token_uri": "https://ipfs.io/ipfs/bafkreihmtbuvgvcbp7sjlmc5pt34q527ea7d5btrrtmoaplvgr56tffybe",
      "metadata": "{\"name\": \"Juice\", \"description\": \"Test\", \"image\": \"https://firebasestorage.googleapis.com/v0/b/notifier-8eaa1.appspot.com/o/NFTs%2F1638959164261.png?alt=media\"}",
      "synced_at": "2021-12-08T10:35:28.227Z",
      "is_valid": 1,
      "syncing": 2,
      "frozen": 0
    }

The same NFT also shows up on the new ownerโ€™s wallet address too (correct)

curl -X 'GET' \
  'https://deep-index.moralis.io/api/v2/0xb179603336B7580F0f845b1366D0c20A00995779/nft?chain=polygon&format=decimal' \
  -H 'accept: application/json' \
  -H 'X-API-Key: ###'
   {
      "token_address": "0x8c0d8685afeaf558f271fd78e75e647f6357869b",
      "token_id": "72565286",
      "block_number_minted": "22274136",
      "owner_of": "0xb179603336b7580f0f845b1366d0c20a00995779",
      "block_number": "22274761",
      "amount": "1",
      "contract_type": "ERC721",
      "name": "NFTsApp",
      "symbol": "NFTsApp9",
      "token_uri": "https://ipfs.io/ipfs/bafkreihmtbuvgvcbp7sjlmc5pt34q527ea7d5btrrtmoaplvgr56tffybe",
      "metadata": "{\"name\": \"Juice\", \"description\": \"Test\", \"image\": \"https://firebasestorage.googleapis.com/v0/b/notifier-8eaa1.appspot.com/o/NFTs%2F1638959164261.png?alt=media\"}",
      "synced_at": "2021-12-08T10:35:28.227Z",
      "is_valid": 1,
      "syncing": 2,
      "frozen": 0
    },

we have to fix that problem where amount is 0, first two examples have amount 0

so basically i should ignore showing users their NFTs when amount = 0 ?

yes, you can ignore those tokens with amount 0 until we fix that problem