Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIL-361] fix: Create separate function to update installation id #236

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

Filip-L
Copy link
Collaborator

@Filip-L Filip-L commented Oct 22, 2024

No description provided.

if installation_id.is_some() {
allocator_active_model.installation_id = Set(installation_id);
}
allocator_active_model.update(&conn).await?;
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this an empty update in case installation_id is None ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In this case, None means nothing to update so we can't make an empty update

@Filip-L Filip-L merged commit 67fcec6 into main Oct 23, 2024
4 checks passed
@Filip-L Filip-L deleted the bugfix/FIL-361-overwriting-client-contract-address branch October 23, 2024 10:06
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.

4 participants