feat: implement full CRUD and administrative management endpoints for WAP servers in the sysadmin API
This commit is contained in:
@@ -36,6 +36,10 @@ export class WapServerAdapterMongoose implements IWapServerAdapter {
|
||||
return this.serverList.findOne(data).exec();
|
||||
}
|
||||
|
||||
public async delete(id: string): Promise<void> {
|
||||
await this.serverList.deleteOne({ _id: id });
|
||||
}
|
||||
|
||||
private buildSearchCriteria(filters: FindWapServerParams): FilterQuery<IWapServerDocument> {
|
||||
const searchCriteria: FilterQuery<IWapServerDocument> = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user