Skip to content

Commit 28be0bb

Browse files
committed
Expose checkApiKey to allow resolving an api key string
This allows for custom api key handlers that don't rely on `resolveAuthHeader` or `resolveApiKey` Change-type: minor
1 parent 92714a3 commit 28be0bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sbvr-api/permissions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1536,7 +1536,7 @@ const getApiKeyActorId = (() => {
15361536
);
15371537
})();
15381538

1539-
const checkApiKey = async (
1539+
export const checkApiKey = async (
15401540
apiKey: string,
15411541
tx?: Tx,
15421542
): Promise<PermissionReq['apiKey']> => {

0 commit comments

Comments
 (0)