When i share a record from a custom doctype the name is not displayed

When i share a document from my custom module to a user the mail the user receives does show the record name instead shows none

i want it display the record name.

Please again check with another lead or another doctype because we checked so it’s worked properly.

Output: