Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/next/lib/account/get-account.ts
1450 views
1
// There's a ton of code that imports from this file, so just importing and exporting instead of changing all of that.
2
3
// getAccount takes a req and returns the account_id, resolving either the api key or remember_me token.
4
5
import getAccount from "@cocalc/server/auth/get-account";
6
export default getAccount;
7
8