what does get_guild_card_data_by_user even do #88

Open
opened 2022-01-25 00:43:12 -05:00 by jake · 0 comments
Owner

was just casually going through some code and realized this wonderful function

async fn get_guild_card_data_by_user(&self, user: &UserAccountEntity) -> Result<GuildCardDataEntity, GatewayError> {
Ok(GuildCardDataEntity {
id: GuildCardDataId(0),
user_id: user.id,
guildcard: guildcard::GuildCardData::default(),
})
}

was just casually going through some code and realized this wonderful function http://git.sharnoth.com/jake/elseware/src/commit/c7a4dff62741c246238d4681280599f41c568980/src/entity/gateway/postgres/postgres.rs#L279-L285
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jake/elseware#88
No description provided.