Membership updater to use updater

This commit is contained in:
Neil Alexander 2022-02-10 09:03:17 +00:00
parent a10e77ee2c
commit ca6e962269
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -48,7 +48,7 @@ func (r *Inputer) updateMemberships(
// Load the event JSON so we can look up the "membership" key. // Load the event JSON so we can look up the "membership" key.
// TODO: Maybe add a membership key to the events table so we can load that // TODO: Maybe add a membership key to the events table so we can load that
// key without having to load the entire event JSON? // key without having to load the entire event JSON?
events, err := r.DB.Events(ctx, eventNIDs) events, err := updater.Events(ctx, eventNIDs)
if err != nil { if err != nil {
return nil, err return nil, err
} }