FRE-651: CEO coordination notes for founder bio/headshot assets
This commit is contained in:
25
node_modules/@clerk/backend/dist/chunk-P263NW7Z.mjs
generated
vendored
Normal file
25
node_modules/@clerk/backend/dist/chunk-P263NW7Z.mjs
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
// src/jwt/legacyReturn.ts
|
||||
function withLegacyReturn(cb) {
|
||||
return async (...args) => {
|
||||
const { data, errors } = await cb(...args);
|
||||
if (errors) {
|
||||
throw errors[0];
|
||||
}
|
||||
return data;
|
||||
};
|
||||
}
|
||||
function withLegacySyncReturn(cb) {
|
||||
return (...args) => {
|
||||
const { data, errors } = cb(...args);
|
||||
if (errors) {
|
||||
throw errors[0];
|
||||
}
|
||||
return data;
|
||||
};
|
||||
}
|
||||
|
||||
export {
|
||||
withLegacyReturn,
|
||||
withLegacySyncReturn
|
||||
};
|
||||
//# sourceMappingURL=chunk-P263NW7Z.mjs.map
|
||||
Reference in New Issue
Block a user