Closed cristighr1995 closed 5 years ago
In this PR we fix the return of the same instance of city. We were using the Singleton pattern but its not the case. We should just continue to use the map where we store each city based on its name.
Related issue: https://github.com/cristighr1995/Holiholic/issues/62
In this PR we fix the return of the same instance of city. We were using the Singleton pattern but its not the case. We should just continue to use the map where we store each city based on its name.