Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

[Refactor] Update user short link relation in Usecase #922

Closed
arberiii opened this issue Jul 2, 2020 · 2 comments
Closed

[Refactor] Update user short link relation in Usecase #922

arberiii opened this issue Jul 2, 2020 · 2 comments

Comments

@arberiii
Copy link
Member

arberiii commented Jul 2, 2020

What is frustrating you?
When updating the alias of a short link, the relation of user short link is updated only because they are joint in postgres database but it is not updated in updater usecase

return u.shortLinkRepo.UpdateShortLink(oldAlias, shortLink)
}

Your solution
Update user short link relation in Usecase

@arberiii arberiii added this to the 06/29 - 07/05 milestone Jul 2, 2020
@magicoder10
Copy link
Member

Huh, good question. Not sure whether we have to manually do this.

@arberiii
Copy link
Member Author

A more detailed dissucion in issue #958.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants