camicroscope / Caracal

Conslidated Backend, Auth, and Security Services for caMicroscope
GNU General Public License v3.0
15 stars 94 forks source link

Fixed uncaught dup key with caracal @ develop #140 #154

Open AbhishekPanta8 opened 1 year ago

AbhishekPanta8 commented 1 year ago

The duplicate key error in the collection was not handled so handled it.

Summary

added if condition check inside catch statement.

Motivation

Fixes uncaught dup key with caracal @ develop #140

Testing

Tested manually

Questions