error in the Melisearch docs
The melisearch docs say to
Note: Use
*
in `expiresAt´ to never expire.
$ curl -s -X POST 'http://localhost:7700/keys' -H 'Content-Type: application/json' -H "Authorization: Bearer $MASTER_KEY" --data-binary '{
"description": "Sharkey Meilisearch key",
"actions": ["*"],
"indexes": ["sharkey---notes"],
"expiresAt": "*"
}'
{"message":"Invalid value at `.expiresAt`: `*` is not a valid date. It should follow the RFC 3339 format to represents a date or datetime in the future or specified as a null value. e.g. 'YYYY-MM-DD' or 'YYYY-MM-DD HH:MM:SS'.\n","code":"invalid_api_key_expires_at","type":"invalid_request","link":"https://docs.meilisearch.com/errors#invalid_api_key_expires_at"}
Correct would be to use expiresAt: null