aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-09-04 08:20:11 -0700
committerAdam Soltys <[email protected]>2025-09-04 15:03:38 -0700
commitfdfbb781f40775f39dbaa10269f559695f670b37 (patch)
treea731019bc0cafbec594a0653c55f7fbe62700358 /lib
parent044c1737289f89d111bcc8c3c709479286dcf29d (diff)
downloadcoinos-server-square.tar.gz
coinos-server-square.zip
create external paymentsquare
Diffstat (limited to 'lib')
-rw-r--r--lib/square.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/square.ts b/lib/square.ts
index e00f0a44..11710774 100644
--- a/lib/square.ts
+++ b/lib/square.ts
@@ -153,7 +153,6 @@ async function getOrCacheLocationId(uid: string, client: SquareClient): Promise<
return firstActiveId;
}
-// ----- Public entry: syncSquare -----
export async function syncSquare(inv: CoinosInv, p: CoinosPayment, user: CoinosUser) {
// 1) Load/refresh per-user OAuth creds
const auth = await ensureFreshAccessToken(user.id);