Skip to content

Commit a06eaa4

Browse files
committed
clean up repo
1 parent 4e67484 commit a06eaa4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/management/identities/identities.service.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ export class IdentitiesService extends AbstractServiceSchema {
1111
super();
1212
}
1313

14-
15-
public async create<T extends AbstractSchema | Document>(data?: any, options?: SaveOptions): Promise<Document<T, any, T>> {
14+
public async create<T extends AbstractSchema | Document>(
15+
data?: any,
16+
options?: SaveOptions,
17+
): Promise<Document<T, any, T>> {
1618
// noinspection UnnecessaryLocalVariableJS
1719
const created: Document<T, any, T> = await super.create(data, options);
1820
//TODO: add backends service logic here
@@ -30,7 +32,10 @@ export class IdentitiesService extends AbstractServiceSchema {
3032
return updated;
3133
}
3234

33-
public async delete<T extends AbstractSchema | Document>(_id: Types.ObjectId | any, options?: QueryOptions<T> | null | undefined): Promise<Query<T, T, any, T>> {
35+
public async delete<T extends AbstractSchema | Document>(
36+
_id: Types.ObjectId | any,
37+
options?: QueryOptions<T> | null | undefined,
38+
): Promise<Query<T, T, any, T>> {
3439
// noinspection UnnecessaryLocalVariableJS
3540
const deleted = await super.delete(_id, options);
3641
//TODO: add backends service logic here

0 commit comments

Comments
 (0)