Skip to content

Commit

Permalink
chore: up[date comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoalee committed Sep 9, 2024
1 parent 226cc1c commit e4a810f
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,7 @@ export const organizeSleuthStubsIntoHTTPRequests = (
(correspondingBaseStudy.versions as IStudyVersion[]) || []
).find((version) => version.user === currUserId);
if (loggedInUsersExistingStudyVersion && loggedInUsersExistingStudyVersion.id) {
// HERE IS WHERE I NEED TO MKAE THE CHECK TO SEE IF THE ANALYSIS ALREADY EXISTS (WITH SAME COORDINATES AND STUFF)

// if there is a duplicate, then this analyses POST request will just return the existing analysis. If not, it will create the analysis and return that instead
allRequests.push(() =>
API.NeurostoreServices.AnalysesService.analysesPost({
...newAnalysis,
Expand Down

0 comments on commit e4a810f

Please sign in to comment.