Skip to content

Commit 8aa91f9

Browse files
committed
fix: rename 'record' to 'updates' in updateResourceRecord call for clarity
1 parent 5b312d0 commit 8aa91f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/modules/restApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ export default class AdminForthRestAPI implements IAdminForthRestAPI {
13991399
}
14001400

14011401
const { error } = await this.adminforth.updateResourceRecord({
1402-
resource, record, adminUser, oldRecord, recordId, response,
1402+
resource, updates: record, adminUser, oldRecord, recordId, response,
14031403
extra: { body, query, headers, cookies, requestUrl, response }
14041404
});
14051405
if (error) {

0 commit comments

Comments
 (0)