Skip to content

Commit 9af247e

Browse files
authored
Fix typo
1 parent 27a3cd1 commit 9af247e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/entity-helper.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,10 @@ const getObjectId = async function (entityName, objIdElementNames, curObj) {
323323
return ""
324324
}
325325

326-
const getDBEntity = function (serviceEnity) {
327-
if (typeof serviceEnity === 'string') serviceEnity = getEntity(serviceEnity)
326+
const getDBEntity = function (serviceEntity) {
327+
if (typeof serviceEntity === 'string') serviceEntity = getEntity(serviceEntity)
328328
for (const dbEntity of cds.db.entities) {
329-
if (dbEntity.isPrototypeOf(serviceEnity)) {
329+
if (dbEntity.isPrototypeOf(serviceEntity)) {
330330
return dbEntity
331331
}
332332
}

0 commit comments

Comments
 (0)