Skip to content

move 'action' logic out of events service#45

Closed
ocasta181 wants to merge 4 commits intodevelopfrom
task/andrin/str-574
Closed

move 'action' logic out of events service#45
ocasta181 wants to merge 4 commits intodevelopfrom
task/andrin/str-574

Conversation

@ocasta181
Copy link
Collaborator

Changes

  • refactor events.service.ts so that it only handles iframe events. business logic for managing state is moved to auth.service.ts

To Test

  • Ensure flow works as expected.

@@ -1,18 +1,16 @@
import type { ApiClient, User } from './apiClient.service';
import type { ApiClient, User, UserUpdate } from "./apiClient.service";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@frostbournesb @saito-sv @ocasta181 Let's agree on this and we can set the linter on all of the projects. Single or double quotes?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would say single is easier to type but do not have a strong preference

}
}, 5000);
} catch (error: any){
return error
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not return an error, let's throw it back to the caller.

@alcalawil
Copy link
Contributor

these changes were merged in #47

@alcalawil alcalawil closed this Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants