Skip to content

Commit f2980ea

Browse files
authored
Merge pull request #13 from cap-js/fixTypo
Fix typo
2 parents 27a3cd1 + 9af247e commit f2980ea

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)