Skip to content

Commit 532df07

Browse files
sjvanssoccermax
authored andcommitted
fix: srv.entities() is not an official API
1 parent c7c28c8 commit 532df07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

srv/service/admin-service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const redisPub = require("../../src/redis/redisPub");
88

99
module.exports = class AdminService extends cds.ApplicationService {
1010
async init() {
11-
const { Event: EventService, Lock: LockService } = this.entities();
11+
const { Event: EventService, Lock: LockService } = this.entities;
1212
const { Event: EventDb } = cds.db.entities("sap.eventqueue");
1313
const { landscape, space } = this.getLandscapeAndSpace();
1414

0 commit comments

Comments
 (0)