Skip to content

Commit

Permalink
removed unwanted code
Browse files Browse the repository at this point in the history
  • Loading branch information
RidhamShah committed Jul 17, 2024
1 parent 521ffac commit 8b32f28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ export class ExperimentClientController {
@Delete('clearDB')
public async clearDB(@Req() request: AppRequest): Promise<string> {
// if DEMO mode is enabled, then clear the database:
if (!env.app.demo) {
if (env.app.demo) {
await this.experimentUserService.clearDB(request.logger);
return 'DB truncate successful';
}
Expand Down

0 comments on commit 8b32f28

Please sign in to comment.