Back to Clerk

`apiKey` -> `secretKey` as param to ClerkExpressWithAuth

packages/upgrade/src/versions/core-2/node/clerkexpresswithauth-apikey.md

latest251 B
Original Source

The apiKey argument passed to ClerkExpressWithAuth must be changed to secretKey.

diff
import { ClerkExpressWithAuth } from '@clerk/clerk-sdk-node';

- ClerkExpressWithAuth({ apiKey: '...' });
+ ClerkExpressWithAuth({ secretKey: '...' });