Back to Clerk

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

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

latest275 B
Original Source

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

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

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