mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-02-09 10:22:43 +00:00
refactor: update all
This commit is contained in:
committed by
Rainer Killinger
parent
8cb4ee12a6
commit
26c14fa7e9
@@ -208,7 +208,7 @@ export abstract class Plugin {
|
||||
* @param req An express Request from the backend
|
||||
* @param res An express Response to the backend for you to send back data
|
||||
*/
|
||||
protected abstract async onRouteInvoke(req: express.Request, res: express.Response): Promise<void>;
|
||||
protected abstract onRouteInvoke(req: express.Request, res: express.Response): Promise<void>;
|
||||
|
||||
/**
|
||||
* Closes the server
|
||||
@@ -222,9 +222,9 @@ export abstract class Plugin {
|
||||
/* istanbul ignore next */
|
||||
if (typeof err !== 'undefined') {
|
||||
/* istanbul ignore next */
|
||||
return reject(err);
|
||||
reject(err);
|
||||
}
|
||||
resolve();
|
||||
resolve(undefined);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user