@authhero/kysely-adapter 0.6.9 → 0.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kysely-adapter.mjs
CHANGED
|
@@ -7488,7 +7488,7 @@ function _o(n) {
|
|
|
7488
7488
|
};
|
|
7489
7489
|
}
|
|
7490
7490
|
function go(n) {
|
|
7491
|
-
return async (e, t, r) => (await n.updateTable("logins").set(Nt(r)).where("
|
|
7491
|
+
return async (e, t, r) => (await n.updateTable("logins").set(Nt(r)).where("logins.login_id", "=", t).where("logins.tenant_id", "=", e).execute()).length === 1;
|
|
7492
7492
|
}
|
|
7493
7493
|
function yo(n) {
|
|
7494
7494
|
return async (e, t) => (await n.deleteFrom("logins").where("logins.tenant_id", "=", e).where("logins.id", "=", t).execute()).length > 0;
|