Skip to content

Commit 983e7b3

Browse files
authored
Merge pull request #826 from balena-io/expose-check-api-key
Expose `checkApiKey` to allow resolving an api key string
2 parents 92714a3 + 28be0bb commit 983e7b3

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)