better-auth 0.2.6-beta.1 → 0.2.6-beta.2
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/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3330,7 +3330,7 @@ var createInternalAdapter = (adapter, options) => {
|
|
|
3330
3330
|
actualData = isObject ? result.data : result;
|
|
3331
3331
|
}
|
|
3332
3332
|
const created = await adapter.create({
|
|
3333
|
-
model,
|
|
3333
|
+
model: tables[model].tableName,
|
|
3334
3334
|
data
|
|
3335
3335
|
});
|
|
3336
3336
|
if (hooks?.[model]?.create?.after && created) {
|